You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS container query is now available in all modern browsers. We can consider to treat the slide container as the CSS container.
If supported, the Markdown author can tweak style with the container query that is matching the size defined by the theme.
It might be not helpful because Marpit is not designed that the theme has multiple sizes, but it will be helpful in some variations of Marpit (e.g. Marp Core: the theme may have defined multiple sizes).
The text was updated successfully, but these errors were encountered:
I think this would be helpful for a media query around font size to basically allow the author to say "font-size to fit contents into slide please" and avoid overflowing. At least that's what I was trying yesterday, I might have been barking up the wrong tree though.
I'm wondering if should add CSS container query support at the framework level, or should leave container-type declaration up to the theme/document author. We want more opinions from community.
CSS container query is now available in all modern browsers. We can consider to treat the slide container as the CSS container.
If supported, the Markdown author can tweak style with the container query that is matching the size defined by the theme.
It might be not helpful because Marpit is not designed that the theme has multiple sizes, but it will be helpful in some variations of Marpit (e.g. Marp Core: the theme may have defined multiple sizes).
The text was updated successfully, but these errors were encountered: