fix: make sibling cards same height

This commit is contained in:
Sergey Andrievskiy 2019-06-21 12:33:10 +03:00
parent 84569df064
commit be3906cfbe
4 changed files with 2 additions and 11 deletions

View file

@ -1,4 +1,4 @@
<nb-card size="large">
<nb-card size="giant">
<nb-tabset fullWidth>
<nb-tab tabTitle="Contacts">

View file

@ -13,12 +13,4 @@
display: none;
}
}
@include media-breakpoint-up(md) {
ngx-contacts ::ng-deep > nb-card {
height: calc(#{nb-theme(card-height-medium)} +
#{nb-theme(card-height-tiny)} +
#{nb-theme(card-margin-bottom)});
}
}
}

View file

@ -6,7 +6,6 @@
background-color: transparent;
border-width: 0;
box-shadow: none;
height: 100%;
margin: 0;
}

View file

@ -6,7 +6,7 @@ import { map } from 'rxjs/operators';
selector: 'ngx-rooms',
styleUrls: ['./rooms.component.scss'],
template: `
<nb-card [size]="breakpoint.width >= breakpoints.sm ? 'large' : ''">
<nb-card [size]="breakpoint.width >= breakpoints.sm ? 'giant' : ''">
<nb-icon icon="arrow-ios-downward" pack="eva"
(click)="collapse()"
class="collapse"