Skip to content

Commit

Permalink
feat(theme): override default bootstrap style for row css class for s…
Browse files Browse the repository at this point in the history
…mall screens (#608)
  • Loading branch information
denStrigo authored and nnixaa committed Aug 7, 2018
1 parent dffbd59 commit 9be2fcb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import './forms';
@import './input-group';
@import './modals';
@import './layout';

@mixin nb-bootstrap-theme() {
@include nb-b-buttons-theme();
Expand All @@ -25,4 +26,5 @@
@include nb-b-forms-theme();
@include nb-b-input-group-theme();
@include nb-b-modals-theme();
@include nb-b-layout-theme();
}
14 changes: 14 additions & 0 deletions src/framework/theme/styles/global/bootstrap/_layout.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/

@mixin nb-b-layout-theme() {
@include media-breakpoint-down(is) {
.row {
margin-left: -10px;
margin-right: -10px;
}
}
}

0 comments on commit 9be2fcb

Please sign in to comment.