]> BookStack Code Mirror - bookstack/commitdiff
Fixed grid layouts being pushed out by child content
authorDan Brown <redacted>
Sat, 25 Jun 2022 12:55:57 +0000 (13:55 +0100)
committerDan Brown <redacted>
Sat, 25 Jun 2022 12:55:57 +0000 (13:55 +0100)
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

resources/sass/_layout.scss

index 14a37dd4a2465777572e7787695d69ac690f1e26..2cd57d496559c142c404863bd942db0dca8125e6 100644 (file)
@@ -26,6 +26,9 @@
   display: grid;
   grid-column-gap: $-l;
   grid-row-gap: $-l;
+  > * {
+    min-width: 0;
+  }
   &.half {
     grid-template-columns: 1fr 1fr;
   }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.