Closed VeryDampTowel closed 7 months ago
Ping @sal0max
If you follow the link to the fiddle in the link you'll note min-width
does seem to work on tables in modern Safari, although given the diff is about min-content
it's less clear how relevant that is regardless.
The Stack Overflow link is about Safai not supporting the min-width
attribute.
Your PR is changing the min-content
value of the width
attribute, @parispjones
width = "min-content"
indeed causes problems with Safari not showing the column, probably because neither the mentioned attributes/values are properly supported.So, yeah.. we should change something, here. I tested some combinations, and li.style.width = "40px";
seems sufficient in all cases. Agreed.
To keep the code clean, we should remove li.style.minWidth = "40px";
, however.
@sal0max You are correct. Sorry for the poor initial phrasing. I removed minWidth so we should be good now.
Please also bump the version number https://github.com/FreshRSS/Extensions/blob/master/xExtension-ReadingTime/metadata.json
Done!
Arg, I should have merged this PR before https://github.com/FreshRSS/Extensions/pull/169 Could you try to re-apply your changes here @math-GH to fix the conflicts?
Ping @math-GH
Ping @math-GH
Done. Thanks for the reminder.
Change
li.style.width
frommin-content
to hardcoded40px
.Apparently Safari doesn't support
min-content
so the reading time is not shown in Safari.I figure 40px is plenty of room for most reading times, but feel free to change it up.
Reference: https://stackoverflow.com/a/7085104