]>
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:
a083cea
)
Fix table width style
author
Rory Maher
<redacted>
Thu, 6 May 2021 12:23:38 +0000
(13:23 +0100)
committer
Rory Maher
<redacted>
Thu, 6 May 2021 12:23:38 +0000
(13:23 +0100)
Tables generated by the markdown renderer don't honour the max-width property without applying word-break styling to the td elements
resources/sass/_pages.scss
patch
|
blob
|
history
diff --git
a/resources/sass/_pages.scss
b/resources/sass/_pages.scss
index 4f249244b03f88a388c3b6c97855b01d27ac1d0a..69f57aaeccbf34087d1d33af390dc1a74a77a9cb 100755
(executable)
--- a/
resources/sass/_pages.scss
+++ b/
resources/sass/_pages.scss
@@
-122,6
+122,9
@@
body.mce-fullscreen, body.markdown-fullscreen {
max-width: 100%;
height: auto !important;
}
+ td {
+ word-break: break-word;
+ }
// diffs
ins,