@classic-homes/theme-styles 0.1.55 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/accessibility.css +3 -1
package/package.json
CHANGED
package/src/accessibility.css
CHANGED
|
@@ -116,8 +116,10 @@
|
|
|
116
116
|
padding: 0;
|
|
117
117
|
margin: -1px;
|
|
118
118
|
overflow: hidden;
|
|
119
|
+
/* clip only — matching Tailwind's .sr-only. A clip-path here would survive
|
|
120
|
+
Tailwind's .not-sr-only reset (which doesn't touch clip-path), leaving
|
|
121
|
+
`sr-only sm:not-sr-only` text invisible but still taking up space. */
|
|
119
122
|
clip: rect(0, 0, 0, 0);
|
|
120
|
-
clip-path: inset(50%);
|
|
121
123
|
white-space: nowrap;
|
|
122
124
|
border-width: 0;
|
|
123
125
|
}
|