Skip to content

Commit

Permalink
fix(NcCheckboxRadioSwitch): visually hidden input position
Browse files Browse the repository at this point in the history
Otherwise it is not actually positioned on the label and moved away in scrollable container.
It also may scroll the container on click.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Nov 28, 2023
1 parent d4bcd4c commit 8269af2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ export default {
font-size: var(--default-font-size);
line-height: var(--default-line-height);
padding: 0;
position: relative;

&__input {
position: absolute;
Expand Down

0 comments on commit 8269af2

Please sign in to comment.