master-co / css

The CSS Language and Framework

Home Page:https://css.master.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐞 normal.css max-width causes many problems

fightingdreamer opened this issue · comments

Description

Introduced in a8171cf max-width: 100%; have very big impact on cases when elements are expected to overflow.

Maybe such rules can be put in new package called master-css-sensible-defaults.css?

Reproduction

No response

System Informations

No response

commented

In practice, img and video may be expected to be limited to a maximum width of 100%. So, we prefer that you batch cancel the full width of the target elements through the selector:

<div class="max-w:none_:where(img)">

I was not aware of that selector in master-css, big thanks!

Great!

The lack of documentation is an issue when convincing colleagues to switch from tailwind-css / uno-css.

commented

@fightingdreamer This is undeniable, and we will improve all documents in RC. Previously, we were still making breakthroughs in R&D and architecture, and the documents have not yet been finalized.

Thx for your support!