We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707c30a commit 62c14daCopy full SHA for 62c14da
packages/field-base/src/styles/button-base-styles.js
@@ -14,6 +14,9 @@ export const button = css`
14
-webkit-tap-highlight-color: transparent;
15
-webkit-user-select: none;
16
user-select: none;
17
+ /* Ensure minimum click target (WCAG) */
18
+ padding: max(0px, (24px - 1lh) / 2);
19
+ margin: min(0px, (24px - 1lh) / -2);
20
}
21
22
/* Icon */
packages/text-area/src/styles/vaadin-text-area-base-styles.js
@@ -24,6 +24,10 @@ export const textAreaStyles = css`
24
top: 0;
25
26
27
+ [part~='clear-button'] {
28
+ top: min(0px, (24px - 1lh) / -2);
29
+ }
30
+
31
/* Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=1739079 */
32
:host([disabled]) ::slotted(textarea) {
33
0 commit comments