From 7e30c6fdf80f39d0ce1d9c39b4a1a39964f1cb5c Mon Sep 17 00:00:00 2001 From: Oleksii Aleksandrov Date: Thu, 5 Apr 2018 15:08:50 +0300 Subject: [PATCH] fix(demo): fix left sidebar is not fully visible on small screens (#3780) - Changed buttons for bootstrap versions to prevent height changes on small screens Closes #3383 --- demo/src/app/common/sidebar/sidebar.component.html | 10 ++++++++-- demo/src/assets/css/style.scss | 14 ++++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/demo/src/app/common/sidebar/sidebar.component.html b/demo/src/app/common/sidebar/sidebar.component.html index fb9999f925..0632eab3f8 100644 --- a/demo/src/app/common/sidebar/sidebar.component.html +++ b/demo/src/app/common/sidebar/sidebar.component.html @@ -9,8 +9,9 @@
- - + Bootstrap: + +
diff --git a/demo/src/assets/css/style.scss b/demo/src/assets/css/style.scss index cd6022dc7f..6e588f03a6 100644 --- a/demo/src/assets/css/style.scss +++ b/demo/src/assets/css/style.scss @@ -223,10 +223,14 @@ a:hover { padding: 15px 19px 10px 20px; display: flex; flex-flow: row wrap; + align-items: center; border-bottom: 1px solid #dadada; + span { + margin-right: 4px; + } + .btn { - margin-bottom: 5px; cursor: pointer; text-align: center; white-space: nowrap; @@ -240,11 +244,13 @@ a:hover { padding: 6px 8px; font-size: 0.8125rem; line-height: 1.25; - border-radius: .25rem; transition: all .15s ease-in-out; - &:first-child { - margin-right: 6px; + &:first-of-type { + border-radius: .25rem 0 0 .25rem; + } + &:last-of-type { + border-radius: 0 .25rem .25rem 0; } &.selected {