Skip to content

Commit

Permalink
Adjust CSS to improve readability of online help
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylmelander committed Jan 8, 2024
1 parent 80c5158 commit af6b76d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
10 changes: 10 additions & 0 deletions doc/OnlineDocs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@
white-space: normal;
word-break: break-word;
}

.rst-content span.collabel {
white-space: nowrap;
}

/* Put space between paragraphs in tables by adding a top margin to all but the first paragraph. */
/* This preserves zero margin at the top and bottom of each cell. */
.rst-content .wy-table-responsive table.docutils p ~ p {
margin-top: 0.8rem;
}
2 changes: 1 addition & 1 deletion doc/OnlineDocs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

class ColumnRole(SphinxRole):
def run(self):
node = nodes.inline(rawtext=self.rawtext, classes=['guilabel'])
node = nodes.inline(rawtext=self.rawtext, classes=['guilabel', 'collabel'])
node += nodes.Text(self.text)
return [node], []

Expand Down
8 changes: 3 additions & 5 deletions doc/OnlineDocs/source/tasks/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,9 @@ The table below describes all available configuration options.
-
-
-
* - \-\-data-path

or

\-\-data-directory
* - | \-\-data-path
| or
| \-\-data-directory
- data_path
- Path. Default=input_data.
- Path to a file or folder where input data is located. Whether it
Expand Down

0 comments on commit af6b76d

Please sign in to comment.