From 9be2fcb1652b3fbb75ca1ff09c56cece8b2800e9 Mon Sep 17 00:00:00 2001 From: Denis Strigo Date: Tue, 7 Aug 2018 17:15:14 +0300 Subject: [PATCH] feat(theme): override default bootstrap style for row css class for small screens (#608) --- .../styles/global/bootstrap/_bootstrap.theme.scss | 2 ++ .../theme/styles/global/bootstrap/_layout.scss | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/framework/theme/styles/global/bootstrap/_layout.scss diff --git a/src/framework/theme/styles/global/bootstrap/_bootstrap.theme.scss b/src/framework/theme/styles/global/bootstrap/_bootstrap.theme.scss index 6d14f996b5..ca408533e6 100644 --- a/src/framework/theme/styles/global/bootstrap/_bootstrap.theme.scss +++ b/src/framework/theme/styles/global/bootstrap/_bootstrap.theme.scss @@ -16,6 +16,7 @@ @import './forms'; @import './input-group'; @import './modals'; +@import './layout'; @mixin nb-bootstrap-theme() { @include nb-b-buttons-theme(); @@ -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(); } diff --git a/src/framework/theme/styles/global/bootstrap/_layout.scss b/src/framework/theme/styles/global/bootstrap/_layout.scss new file mode 100644 index 0000000000..f75f642f74 --- /dev/null +++ b/src/framework/theme/styles/global/bootstrap/_layout.scss @@ -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; + } + } +}