mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
tweaks to safari bug with nav dropdowns
This commit is contained in:
parent
64373c2d44
commit
0104f7dbc0
238 changed files with 713 additions and 123 deletions
|
@ -11,10 +11,10 @@
|
|||
|
||||
// Prevent VoiceOver from ignoring list semantics in Safari (opinionated)
|
||||
// https://github.com/picocss/pico/issues/634#issuecomment-2541600508
|
||||
//:where(nav li)::before {
|
||||
// float: left;
|
||||
// content: "\200B";
|
||||
//}
|
||||
:where(nav li)::before {
|
||||
float: none; // fixes safari bug in dropdowns. Previously was: left
|
||||
content: "\200B"; // makes voice overs realize its a list item
|
||||
}
|
||||
|
||||
// Pico
|
||||
// ––––––––––––––––––––
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue