bulma icon indicating copy to clipboard operation
bulma copied to clipboard

Fixes #3961

Open YorikHansen opened this issue 11 months ago • 0 comments

This is a bugfix.

Resolves #3961

Proposed solution

The usage of media range syntax fixes this issue. According to Can I use, this syntax is baseline available since 2023.

Tradeoffs

This is not as backwards compatible as the old max-width. Alternatively one could use the same workaround as bootstrap and subtract only 0.02px. See the alternative implementation here.

Testing Done

(Note: due to a rounding error, my viewport has actually a width between 1023px and 1024px)

Size Without this fix With this fix
1022px Example navbar for a width of 1022px without this fix Example navbar for a width of 1022px with the fix applied
1023px Example navbar for a width of 1023px without this fix Example navbar for a width of 1023px with the fix applied
1024px Example navbar for a width of 1024px without this fix Example navbar for a width of 1024px with the fix applied

Changelog updated?

No.

YorikHansen avatar May 29 '25 11:05 YorikHansen