]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3ed1ffd
)
Fixed grid layouts being pushed out by child content
author
Dan Brown
<redacted>
Sat, 25 Jun 2022 12:55:57 +0000
(13:55 +0100)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/resources/sass/_layout.scss
b/resources/sass/_layout.scss
index 14a37dd4a2465777572e7787695d69ac690f1e26..2cd57d496559c142c404863bd942db0dca8125e6 100644
(file)
--- 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;
}
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.