Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redacteur-doc-technique
old-antora-ui-default-fork
Commits
3c8aaccb
Commit
3c8aaccb
authored
Apr 29, 2020
by
Dan Allen
Browse files
merge !115
resolves #129 force words to break that don't fit within available space
parents
d81105ad
cf64d195
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/css/body.css
View file @
3c8aaccb
.body
{
word-wrap
:
break-word
;
/* aka overflow-wrap; used when hyphens are disabled or don't do the trick */
}
@media
screen
and
(
min-width
:
1024px
)
{
.body
{
display
:
flex
;
...
...
src/css/doc.css
View file @
3c8aaccb
...
...
@@ -639,3 +639,8 @@
.doc
.icon
i
::after
{
hyphens
:
none
;
}
.doc
th
.tableblock
,
.doc
td
.tableblock
{
word-break
:
break-word
;
/* overflow-wrap for table cells; gives space higher precedence than hyphen opportunity */
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment