all repos — site @ f924a8a5ac0f8911d3384bcc4a366483af1ad896

source for my site, found at icyphox.sh

Fix flexbox overflowing container
Anirudh Oppiliappan x@icyphox.sh
Sat, 11 Dec 2021 16:02:07 +0530
commit

f924a8a5ac0f8911d3384bcc4a366483af1ad896

parent

eede5af3be0eaf1bb949686d4fa13747c3e37f55

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M static/style.cssstatic/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; }