mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
[CL-825] Provide dimensions to checkbox to fix ios rendering bug (#16109)
* absolutely position checkbox to fix ios rendering bug * remove absolute positioning. Dimensions fix it
This commit is contained in:
@@ -21,6 +21,9 @@ export class CheckboxComponent implements BitFormControlAbstraction {
|
||||
"tw-align-sub",
|
||||
"tw-flex-none", // Flexbox fix for bit-form-control
|
||||
"!tw-p-1",
|
||||
// Give checkbox explicit height and width to fix iOS rendering bug
|
||||
"tw-h-[calc(1.12rem_+_theme(spacing.2))]",
|
||||
"tw-w-[calc(1.12rem_+_theme(spacing.2))]",
|
||||
"after:tw-inset-1",
|
||||
// negative margin to negate the positioning added by the padding
|
||||
"!-tw-mt-1",
|
||||
|
||||
Reference in New Issue
Block a user