mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-27 12:48:49 +01:00
fix: make sibling cards same height
This commit is contained in:
parent
84569df064
commit
be3906cfbe
4 changed files with 2 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<nb-card size="large">
|
||||
<nb-card size="giant">
|
||||
<nb-tabset fullWidth>
|
||||
|
||||
<nb-tab tabTitle="Contacts">
|
||||
|
|
|
|||
|
|
@ -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)});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
background-color: transparent;
|
||||
border-width: 0;
|
||||
box-shadow: none;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue