Consider using font-relative widths and heights in containing elements #16181
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
General Interface
Parts of the UI which don't fall neatly under other labels.
[Type] Enhancement
A suggestion for improvement.
Is your feature request related to a problem? Please describe.
When structural elements contain text, we should consider setting their widths or heights in a way that responds to text size increase (not talking about zoom here).
This came about when looking at the resolution for #15973 . This is fine, but the sidebar is still very cramped with the increase of font size. It could do with being larger.
Describe the solution you'd like
Using
em
on the container's width or height values so that when text size increases, the containers also increase.We can start this approach on the sidebar discussed in 15973.
Describe alternatives you've considered
I think can use CSS 'max-width' to define a PX constraint to meet the design, and instead use CSS 'width' as the relative measurement:
.foo { max-width: something-reasonable-px; width: 100em }
The text was updated successfully, but these errors were encountered: