Skip to content

Commit

Permalink
fix(route tabset): tab icon margin (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jan 8, 2020
1 parent ecafd16 commit f7210b2
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
flex-direction: row;
list-style-type: none;
margin: 0;
padding: 0;

.route-tab {
margin-bottom: -1px;
Expand Down Expand Up @@ -38,15 +39,19 @@
nb-icon {
vertical-align: middle;
}

nb-icon + span {
@include nb-ltr(margin-left, 0.5rem);
@include nb-rtl(margin-right, 0.5rem);
}
}
}
}

:host.full-width .route-tabset {
justify-content: space-around;
:host {
.tab-link nb-icon + span {
@include nb-ltr(margin-left, 0.5rem);
@include nb-rtl(margin-right, 0.5rem);
}
}

:host(.full-width) {
.route-tabset {
justify-content: space-around;
}
}

0 comments on commit f7210b2

Please sign in to comment.