Skip to content

Commit

Permalink
fix(auth): fix scrollbar cutoff issue with auth (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
janabimustafa authored and nnixaa committed Dec 19, 2017
1 parent 41d0f78 commit 893d56a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/framework/auth/components/auth.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
nb-card {
margin: 0;
}

.flex-centered {
margin: auto;
}
nb-card-body {
display: flex;
align-items: center;
justify-content: center;
}

// TODO rewrite when develop responsive
Expand Down
2 changes: 1 addition & 1 deletion src/framework/auth/components/auth.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { NbAuthService } from '../services/auth.service';
<nb-layout-column>
<nb-card>
<nb-card-body>
<div class="col-xl-4 col-lg-6 col-md-8 col-sm-12">
<div class="flex-centered col-xl-4 col-lg-6 col-md-8 col-sm-12">
<router-outlet></router-outlet>
</div>
</nb-card-body>
Expand Down

0 comments on commit 893d56a

Please sign in to comment.