You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior only happens in Safari, but not in Chrome. When a:before (used to draw the green box) content is empty, its width and height are both 0 for Safari. The reason is that inset: 0 (equivalent to top/right/bottom/left: 0) is NOT supported for Safari: https://caniuse.com/?search=inset
Maybe we should use the more conservative top/right/bottom/left combinations here. I'm unable to make a PR directly myself due to no permission + no forking allowed.
The text was updated successfully, but these errors were encountered:
From comments in #95:
This behavior only happens in Safari, but not in Chrome. When
a:before
(used to draw the green box)content
is empty, its width and height are both 0 for Safari. The reason is thatinset: 0
(equivalent totop/right/bottom/left: 0
) is NOT supported for Safari: https://caniuse.com/?search=insethttps://github.com/snowpackjs/astro/blob/ea33d7b2ab30f6434986bb0d8671e7f681076268/www/public/global.scss#L78
Originally posted by @kevinkassimo in #95 (comment)
Maybe we should use the more conservative
top/right/bottom/left
combinations here. I'm unable to make a PR directly myself due to no permission + no forking allowed.The text was updated successfully, but these errors were encountered: