smolcss icon indicating copy to clipboard operation
smolcss copied to clipboard

Visited Style: float not removing underline in Firefox

Open MariusE opened this issue 3 years ago • 1 comments

In the code-example you add float: left to the icon-<span> to remove underline from it. https://smolcss.dev/#smol-visited-styles

This is not working with (at least) recent Firefox (on Mac OS).

screenshot from smolcss demo showing the unwanted underline under the icon

MariusE avatar Jun 06 '21 17:06 MariusE

+1

Issue is still present in latest Firefox (92.0) on Windows 10.

One more related issue is the width of ul element as you can see in the above screenshot.

Plus, we're using fit-content again but as a value of width this time and not as a function. This means it will expand to the equivalent of max-width but not exceed the available width, preventing overflow.

It is also not working in Firefox because it does not support the unprefixed fit-content you still need -moz- vendor prefix.


In chromium browsers on Windows (latest Chrome, Edge and Brave) fit-content is working as expected. But <span> is not showing at all for some reason.

smolcss dev_

bilalqtech avatar Sep 09 '21 03:09 bilalqtech