fix(contacts): make same height as siblings

This commit is contained in:
Sergey Andrievskiy 2019-06-18 21:16:20 +03:00
parent bfa25273a1
commit fab866227e
2 changed files with 7 additions and 4 deletions

View file

@ -6,7 +6,8 @@
}
nb-tabset {
height: 100%;
display: flex;
flex-direction: column;
::ng-deep .tab-link {
padding: 1.25rem 2rem;

View file

@ -14,9 +14,11 @@
}
}
@include media-breakpoint-down(is) {
::ng-deep nb-card.large-card {
height: nb-theme(card-height-medium);
@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)});
}
}
}