milestone 23 s3: move srOnly into the shared style vocabulary

This commit is contained in:
2026-08-12 22:16:58 +02:00
parent bb39539fdf
commit 0f58966b31
8 changed files with 33 additions and 76 deletions
+1 -12
View File
@@ -78,17 +78,6 @@ const styles = stylex.create({
submitRow: {
display: "flex",
},
srOnly: {
position: "absolute",
width: 1,
height: 1,
padding: 0,
margin: -1,
overflow: "hidden",
clipPath: "inset(50%)",
whiteSpace: "nowrap",
borderWidth: 0,
},
});
export default function RulesPage() {
@@ -137,7 +126,7 @@ export default function RulesPage() {
<th {...stylex.props(shared.th)}>Group</th>
<th {...stylex.props(shared.th)}>Created</th>
<th {...stylex.props(shared.th)}>
<span {...stylex.props(styles.srOnly)}>Actions</span>
<span {...stylex.props(shared.srOnly)}>Actions</span>
</th>
</tr>
</thead>