Skip to content

Commit

Permalink
fix text bounce when using normal tabs due to border size and negativ…
Browse files Browse the repository at this point in the history
…e border margin
  • Loading branch information
ichim-david committed Sep 26, 2023
1 parent ecc85b2 commit 10b7241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion theme/themes/eea/collections/menu.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
max-width: @secondaryPointingItemMaxWidth;
padding: @secondaryItemVerticalPadding @secondaryItemHorizontalPadding;
border-bottom: @secondaryPointingItemBorderBottom;
margin: 0;
margin: @secondaryPointingItemMargin;
}
}

Expand Down
5 changes: 3 additions & 2 deletions theme/themes/eea/collections/menu.variables
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@
@secondaryVerticalPointingItemMargin: var(--vertical-item-margin, 0em -@secondaryPointingBorderWidth 0em 0em);


@secondaryPointingItemBorderBottom: @1px solid transparent;
@secondaryPointingItemBorderBottom: @3px solid transparent;
@secondaryPointingItemMargin: 0 0 -@1px 0;
@secondaryPointingItemMaxWidth: 15.625rem;

/* Inverted Secondary */
Expand Down Expand Up @@ -383,7 +384,7 @@

@textMenuActiveItemFontWeight: @normal;
@textMenuActiveItemColor: @selectedTextColor;
@secondaryPointingActiveItemMarginBottom: @2px;
@secondaryPointingActiveItemMarginBottom: @1px;

@textMenuHeaderSize: @relativeSmall;
@textMenuHeaderColor: @darkTextColor;
Expand Down

0 comments on commit 10b7241

Please sign in to comment.