Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
Aardwolf
3mo ago
0 comments
Share
That changes the width, I guess I should have specified fixed width
undefined | Better HN
0 comments
default
newest
oldest
1718627440
3mo ago
What is a fixed with, that is not a has not a fix value?
Aardwolf
OP
3mo ago
I mean elements with a width set in pixels, ems or some other unit. Setting width to 'fit-content' would override the width you set and then the element may overlap others to the right of it
1718627440
3mo ago
Then you just do width: <width in ems> em; ? I thought you didn't want to specify a width.
j
/
k
navigate · click thread line to collapse