refactor(tabs): make tab list same size as card header

This commit is contained in:
Sergey Andrievskiy 2019-06-22 14:55:44 +03:00
parent 14a53c8b51
commit c4faa6af39
2 changed files with 9 additions and 4 deletions

View file

@ -9,10 +9,14 @@
display: flex;
flex-direction: column;
::ng-deep ul {
// make same size as card header
padding-bottom: 1px;
::ng-deep .tab-link {
padding: 1.25rem 2rem;
}
}
}
nb-tab {
padding: 0;

View file

@ -10,8 +10,9 @@
height: 100%;
::ng-deep ul {
border: none;
// make same size as card header
border-color: transparent;
padding-bottom: 1px;
.tab-link {
padding: 1.25rem 2rem;
}