Skip to content

Commit

Permalink
change(tabs): add padding also to horizontal plane for tab panel
Browse files Browse the repository at this point in the history
- introduce also color for tabs-block section which can be replaced
  in less variable
  • Loading branch information
ichim-david committed Sep 29, 2022
1 parent 3b284e6 commit 55afa26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/less/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.loadAddonVariables();

.tabs-block {
color: @tabsBlockColor;
> .styled {
display: flex !important;
flex: 1;
Expand Down Expand Up @@ -62,4 +63,8 @@
}
}

.RRT__container .ui.RRT__tabs {
margin-bottom: 0;
}

.loadAddonOverrides();
5 changes: 3 additions & 2 deletions src/less/tabs.variables
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
Tabs block
*******************************/

@verticalPadding: 1em;
@horizontalPadding: 0;
@tabsBlockColor: #000;
@verticalPadding: 1rem;
@horizontalPadding: 1rem;

/* Tab pane */
@tabPanePadding: @verticalPadding @horizontalPadding;

0 comments on commit 55afa26

Please sign in to comment.