fix(dashboard): hide traffic card, make large card as medium for small window sizes

fix issue with 2 echarts on the same page with 100% width
This commit is contained in:
KostyaDanovsky 2017-09-14 15:19:07 +03:00
parent fd14e0a23e
commit 3a7adf0115
3 changed files with 16 additions and 2 deletions

View file

@ -1,8 +1,22 @@
@import '../../@theme/styles/themes';
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
@include nb-install-component() {
.solar-card nb-card-header {
border: none;
padding-bottom: 0;
}
@include media-breakpoint-down(sm) {
ngx-traffic {
display: none;
}
}
@include media-breakpoint-down(is) {
/deep/ nb-card.large-card {
height: nb-theme(card-height-medium);
}
}
}

View file

@ -218,7 +218,7 @@
height: $player-height;
flex-direction: row;
padding: 0;
flex: initial;
flex: none;
.cover {
height: $player-height;

View file

@ -93,7 +93,7 @@
.btn-group {
padding: 1.25rem;
justify-content: center
justify-content: center;
}
.btn-icon {