elad2412 / the-new-css-reset

The New Simple and Lighter CSS Reset
https://elad2412.github.io/the-new-css-reset/
MIT License
2.23k stars 229 forks source link

Problems with hyphens #86

Closed bitstarr closed 4 months ago

bitstarr commented 5 months ago

In Chrome (and derived browsers like Edge) the property all: unset kills the ability to hyphenate text.

Even after setting all hyphens related properties, you cannot get any hyphenation.

    hyphens: auto;
    hyphenate-character: '-';
    hyphenate-limit-chars: 10 4 4;

I was working happily with most parts of this reset, but now I have to adjust around this issue.

fabulousgk commented 5 months ago

Can you confirm what version of the reset you are using?

Does this line, exactly match, specifically the html element? *:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {

bitstarr commented 4 months ago

ah I see, you added html to the exlusion list.

i was using :where( :not( iframe, canvas, img, svg, video ):not( svg *, symbol * ) ) {

elad2412 commented 4 months ago

Sorry for the late answer. From what I see I can close this issue. If anything is still an issue please let me know.