CSS quicky: fixing flexbox width with pre tags

I am pretty happy with my minimal blog layout - in the code it looks something like: <div id="content-container"> <div id="content"></div> <div id="sidebar"></div> </div> with the css code #content-container { display: flex; } #content { flex: 1; } #sidebar { max-width: 210px; } nothing too exciting… While i’m writing several drafts, i had looong docker commands in pre tags, and it broke the layout - i don’t know why, but the pre tags didn’t want to break the lines....

Last posts

Tags