Skip to content

Commit

Permalink
fix(tabs): add positioning classes (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Sep 9, 2024
1 parent 01cc214 commit dd17302
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/assets/scss/components/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
&.is-simple {
justify-content: normal;

&.is-left {
justify-content: flex-start;
}

&.is-centered {
justify-content: center;
}
Expand Down
12 changes: 12 additions & 0 deletions src/assets/scss/components/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ $tabs-toggle-link-focus-border-color: css.getVar(
}
}

&.is-left {
justify-content: flex-start;
}

&.is-centered {
justify-content: center;
}

&.is-right {
justify-content: flex-end;
}

&:not(.is-toggle):not(.is-toggle-rounded):not(.is-pills) {
border-bottom-color: css.getVar("tabs-border-bottom-color");
border-bottom-style: css.getVar("tabs-border-bottom-style");
Expand Down

0 comments on commit dd17302

Please sign in to comment.