mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[CL-620] add padding to increase checkbox clickable area (#15331)
* add padding to increaase checkbox clickable area * fix checkbox story imports * enlarge click area of checkbox w/out label * apply disabled states to before * WIP * revert experimental changes * add negative margin to account for extra padding * Remove margin from checkbox and apply in form control * Remove margin from radio as it's applied in form control * add back line height removed in error
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<label
|
||||
class="tw-transition tw-select-none tw-mb-0 tw-inline-flex tw-rounded tw-p-0.5 has-[:focus-visible]:tw-ring has-[:focus-visible]:tw-ring-primary-600"
|
||||
class="tw-transition tw-items-start [&:has(input[type='checkbox'])]:tw-gap-[.25rem] [&:has(input[type='radio'])]:tw-gap-1.5 tw-select-none tw-mb-0 tw-inline-flex tw-rounded has-[:focus-visible]:tw-ring has-[:focus-visible]:tw-ring-primary-600"
|
||||
[ngClass]="[formControl.disabled ? 'tw-cursor-auto' : 'tw-cursor-pointer']"
|
||||
>
|
||||
<ng-content></ng-content>
|
||||
|
||||
Reference in New Issue
Block a user