Skip to content

Commit fe5e078

Browse files
committed
update css to stop code from wrapping
1 parent e4077b2 commit fe5e078

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/guides/modules/ROOT/partials/pipelines-and-triggers/pipeline-values.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[.table-scroll]
2+
--
13
[.datatable.no-sort-col-3,cols="6*", options="header"]
24
|===
35
| Variable
@@ -471,3 +473,4 @@ a| * GitLab: push, merge request
471473
| image:guides:ROOT:icons/cancel.svg[cancel icon, role="no-border"]
472474

473475
|===
476+
--

ui/src/css/doc.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,4 +1439,15 @@
14391439
.doc .circle-red {
14401440
color: #8F001C !important;
14411441
font-weight: var(--heading-font-weight);
1442+
}
1443+
1444+
/* Prevent code text from wrapping in table cells */
1445+
td .pre,
1446+
td .code,
1447+
td code,
1448+
td pre,
1449+
td .tableblock code,
1450+
td p code,
1451+
.tableblock code {
1452+
white-space: nowrap !important;
14421453
}

0 commit comments

Comments
 (0)