Fix flexbox overflowing container
Anirudh Oppiliappan x@icyphox.sh
Sat, 11 Dec 2021 16:02:07 +0530
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
static/style.css
→
static/style.css
@@ -37,11 +37,10 @@ flex-wrap: wrap;
flex-direction: row; grid-column-gap: 1.9rem; row-gap: 2rem; - width: 100%; } main article, table { - flex-grow: 1; + min-width: 0; flex-basis: 80%; }@@ -93,6 +92,7 @@ }
main article img { max-width: 100%; + width: 100%; display: block; margin: 0 0 15px 0; }