mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
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:
parent
fd14e0a23e
commit
3a7adf0115
3 changed files with 16 additions and 2 deletions
|
|
@ -1,8 +1,22 @@
|
||||||
@import '../../@theme/styles/themes';
|
@import '../../@theme/styles/themes';
|
||||||
|
@import '~bootstrap/scss/mixins/breakpoints';
|
||||||
|
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
|
||||||
|
|
||||||
@include nb-install-component() {
|
@include nb-install-component() {
|
||||||
.solar-card nb-card-header {
|
.solar-card nb-card-header {
|
||||||
border: none;
|
border: none;
|
||||||
padding-bottom: 0;
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@
|
||||||
height: $player-height;
|
height: $player-height;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
flex: initial;
|
flex: none;
|
||||||
|
|
||||||
.cover {
|
.cover {
|
||||||
height: $player-height;
|
height: $player-height;
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
.btn-group {
|
.btn-group {
|
||||||
padding: 1.25rem;
|
padding: 1.25rem;
|
||||||
justify-content: center
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-icon {
|
.btn-icon {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue