Skip to content

Commit

Permalink
custom-tab: added user-select: none to prevent selecting text possibl…
Browse files Browse the repository at this point in the history
…y causing to a tab to not be clicked
  • Loading branch information
roienatan committed Nov 30, 2023
1 parent fc759ed commit ef7fa74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/components/Tabs/Tab/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
border-bottom: 0.25rem solid var(--tab-bb-color);
cursor: pointer;
transition: color 0.2s, border-bottom-color 0.2s;
user-select: none;

&:active {
--tab-bb-color: var(--tab-inactive-hover-color);
Expand Down

0 comments on commit ef7fa74

Please sign in to comment.