sass compiler was removing the value: "\200B" for the :where(navs li).

Updated, sass to include the 0 width space for VoiceOver, and removed the float for safari  trimming dropdodwn list bugs.
This commit is contained in:
Yohn 2024-12-13 21:17:24 -05:00
parent 9faf5914d0
commit 27ccea2e53
238 changed files with 240 additions and 238 deletions

View file

@ -1,4 +1,5 @@
@use "sass:map";
@use "sass:string";
@use "../settings" as *;
@if map.get($modules, "components/nav") {
@ -13,7 +14,8 @@
// https://github.com/picocss/pico/issues/634#issuecomment-2541600508
:where(nav li)::before {
float: none; // fixes safari bug in dropdowns. Previously was: left
content: " "; //\200B"; // makes voice overs realize its a list item
//content: " "; //\200B"; // makes voice overs realize its a list item
content: string.unquote('"\\200B"');
}
// Pico