Fix overflow problems caused by long words (#6220)
This commit is contained in:
parent
70468a96c6
commit
9576d97187
1 changed files with 18 additions and 12 deletions
|
|
@ -10,6 +10,18 @@ html[data-theme="light"] {
|
||||||
--pst-color-info-low-opacity: rgba(1, 113, 195, 0.25);
|
--pst-color-info-low-opacity: rgba(1, 113, 195, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* force middle article contents to break an entire word
|
||||||
|
that cannot be put inside one line (e.g. a long url) */
|
||||||
|
.bd-article-container {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* make inline code block break word
|
||||||
|
if an entire word cannot be put inside one line,
|
||||||
|
or break at normal line break places such as / */
|
||||||
|
code span.pre {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
/* align items in the left part of header to the ground*/
|
/* align items in the left part of header to the ground*/
|
||||||
.bd-header #navbar-start {
|
.bd-header #navbar-start {
|
||||||
|
|
@ -55,9 +67,3 @@ html[data-theme="light"] {
|
||||||
.bigdl-quicklinks-section-title {
|
.bigdl-quicklinks-section-title {
|
||||||
color: var(--pst-color-primary);
|
color: var(--pst-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* force long parameter definition (which occupy a whole line)
|
|
||||||
to break in api documents for class/method */
|
|
||||||
.sig-object{
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue