fix(sr-only): ensure table caption elements are clipped in Firefox (#20510)
This commit is contained in:
parent
9b7463ae21
commit
5fd34beb40
1 changed files with 10 additions and 0 deletions
|
|
@ -171,6 +171,16 @@ table {
|
|||
border-collapse: collapse; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
Ensure table captions inside visually hidden tables are properly clipped in Firefox.
|
||||
(https://github.com/tailwindlabs/tailwindcss/issues/20510)
|
||||
*/
|
||||
|
||||
:where(table.sr-only, .sr-only > table) > caption {
|
||||
clip-path: inherit;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
Use the modern Firefox focus style for all focusable elements.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue