Skip to content

Commit af6b76d

Browse files
Adjust CSS to improve readability of online help
1 parent 80c5158 commit af6b76d

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

doc/OnlineDocs/source/_static/css/custom.css

+10
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@
1616
white-space: normal;
1717
word-break: break-word;
1818
}
19+
20+
.rst-content span.collabel {
21+
white-space: nowrap;
22+
}
23+
24+
/* Put space between paragraphs in tables by adding a top margin to all but the first paragraph. */
25+
/* This preserves zero margin at the top and bottom of each cell. */
26+
.rst-content .wy-table-responsive table.docutils p ~ p {
27+
margin-top: 0.8rem;
28+
}

doc/OnlineDocs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
class ColumnRole(SphinxRole):
7272
def run(self):
73-
node = nodes.inline(rawtext=self.rawtext, classes=['guilabel'])
73+
node = nodes.inline(rawtext=self.rawtext, classes=['guilabel', 'collabel'])
7474
node += nodes.Text(self.text)
7575
return [node], []
7676

doc/OnlineDocs/source/tasks/configure.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,9 @@ The table below describes all available configuration options.
108108
-
109109
-
110110
-
111-
* - \-\-data-path
112-
113-
or
114-
115-
\-\-data-directory
111+
* - | \-\-data-path
112+
| or
113+
| \-\-data-directory
116114
- data_path
117115
- Path. Default=input_data.
118116
- Path to a file or folder where input data is located. Whether it

0 commit comments

Comments
 (0)