Skip to content

Commit 5da5d11

Browse files
juliacanzaniclaude
andcommitted
Checkbox: Restore checkmark icon in context bundles
The legacy .tf-checkbox checked rule uses the background shorthand, which resets background-image and wiped the TUI checkbox's SVG checkmark inside context bundles (WP context showed no icon at all, since the WP theme also hides the core ::before dashicon). Scope the legacy rule away from TUI inputs with :not(.tui-inline-choice__control), same pattern as Notice. Includes rebuilt assets. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4d44ee1 commit 5da5d11

7 files changed

Lines changed: 9 additions & 7 deletions

File tree

assets/build/beaver-builder/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/default/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/elementor/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/example.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/wp/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/components/field/checkbox/index.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
margin-bottom: revert;
77
}
88

9-
input[type="checkbox"] {
9+
/* Legacy checkbox only — the background shorthand below would wipe the
10+
TUI checkbox's background-image checkmark */
11+
input[type="checkbox"]:not(.tui-inline-choice__control) {
1012
box-shadow: 0 0 0 transparent;
1113
border: $field-border-width $field-border-style $field-font-color;
1214
margin-right: $label-spacer;

0 commit comments

Comments
 (0)