Skip to content

Commit a676f6d

Browse files
committed
Merge pull request #2301 from xuhdev/classic-hyphens
Texts in the classic html theme should be hyphenated.
2 parents 305e336 + b55b690 commit a676f6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sphinx/themes/basic/static/basic.css_t

+7
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ div.genindex-jumpbox {
189189

190190
/* -- general body styles --------------------------------------------------- */
191191

192+
div.body p, div.body dd, div.body li, div.body blockquote {
193+
-moz-hyphens: auto;
194+
-ms-hyphens: auto;
195+
-webkit-hyphens: auto;
196+
hyphens: auto;
197+
}
198+
192199
a.headerlink {
193200
visibility: hidden;
194201
}

0 commit comments

Comments
 (0)