fix(buttons): fix buttons responsiveness

This commit is contained in:
KostyaDanovsky 2017-09-18 13:58:02 +03:00
parent 612ae7e4c0
commit 5eb74be77f
3 changed files with 19 additions and 10 deletions

View file

@ -81,10 +81,14 @@
} }
} }
@include media-breakpoint-down(xxxl) { @include media-breakpoint-down(is) {
ngx-default-buttons /deep/ nb-card-header { ngx-default-buttons /deep/ nb-card-header {
flex-direction: column; flex-direction: column;
margin-bottom: 0.5rem; align-items: left;
span {
margin-bottom: 1rem;
}
} }
} }

View file

@ -5,20 +5,21 @@
nb-card-header { nb-card-header {
display: flex; display: flex;
align-items: center;
span { justify-content: space-between;
flex: 1;
margin-bottom: 1rem;
}
.dropdown { .dropdown {
flex-basis: 30%; flex-basis: 30%;
min-width: 200px; min-width: 220px;
} }
} }
nb-card-body {
padding-bottom: 0;
}
.example-container { .example-container {
margin-bottom: 2rem; margin-bottom: 1.5rem;
} }
.primary-container { .primary-container {

View file

@ -3,6 +3,10 @@
@include nb-install-component() { @include nb-install-component() {
nb-card-body {
padding-bottom: 0;
}
.none { .none {
position: relative; position: relative;
transform: rotate(45deg); transform: rotate(45deg);
@ -108,6 +112,6 @@
} }
.example-container { .example-container {
margin-bottom: 2rem; margin-bottom: 1.5rem;
} }
} }