Skip to content

Commit

Permalink
fix: update border radius for nested button bar
Browse files Browse the repository at this point in the history
  • Loading branch information
bualoy-napat committed Dec 4, 2024
1 parent 284deb4 commit 4ae349a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/ds-theme/src/custom-elements/ef-button-bar.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
@import '@refinitiv-ui/halo-theme/src/custom-elements/ef-button-bar';

:host {
--corner-radius: @comp-button-container-radius-md;
// using default border color when hover ef-button
::slotted(ef-button:not(:focus):hover),
::slotted(ef-button:not(:focus)[active][toggles]:hover),
::slotted(ef-button[active][toggles]) {
border-color: @button-border-color;
}

::slotted(ef-button) {
border-radius: var(--corner-radius);
}

::slotted(ef-button-bar) {
--corner-radius: @cont-radius-common-none;
}
}

0 comments on commit 4ae349a

Please sign in to comment.