Skip to content

Commit bc33092

Browse files
committed
Restore left-aligned columns in HTML tables
Override new centered alignment default started in sphinx 2.0.
1 parent 81f6d97 commit bc33092

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: _static/diffpy-styles.css

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* Restore left-aligned table columns for sphinx 2.0 and later */
2+
3+
table.align-default {
4+
text-align: left;
5+
}

Diff for: conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,5 @@ def apply(self):
361361

362362
def setup(app):
363363
app.add_transform(MakeAbsoluteURIsRelative)
364+
app.add_css_file('diffpy-styles.css')
364365
return

0 commit comments

Comments
 (0)