From: Dan Brown Date: Sat, 25 Jun 2022 12:55:57 +0000 (+0100) Subject: Fixed grid layouts being pushed out by child content X-Git-Tag: v22.06.1~1^2~4 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/0801955a26393cbf286596826b9cccde83dc7850 Fixed grid layouts being pushed out by child content Ran a quick app run-thorugh in FireFox & Chrome, No secondary affects immediately noticed but possible this could cause changes elsewhere due to wide-spread grid item child targeting. For #3523 --- diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index 14a37dd4a..2cd57d496 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -26,6 +26,9 @@ display: grid; grid-column-gap: $-l; grid-row-gap: $-l; + > * { + min-width: 0; + } &.half { grid-template-columns: 1fr 1fr; }