🐞 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
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!
@fightingdreamer I've improved the usage instructions.
https://beta.css.master.co/docs/global-styles#responsive-friendly-media-elements
Great!
The lack of documentation is an issue when convincing colleagues to switch from tailwind-css
/ uno-css
.
@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!