mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-03 16:41:27 +01:00
help: one long signature no longer squeezes its whole group
The :sshkey arguments made the key column of the session group as wide as the newspaper column, and every description beside it collapsed to a letter a line. The key column is now capped and arguments wrap under the command name. Text is a size larger, descriptions at body contrast, and rows have more air.
This commit is contained in:
1 parent
cbbb804bfc
commit
6c82264f57
1 file changed
+10
-6
+10
-6
@@ -170,7 +170,7 @@
|
|||||||
.sheet { width: min(100%, 112ch); overflow-y: auto; overflow-x: hidden; }
|
.sheet { width: min(100%, 112ch); overflow-y: auto; overflow-x: hidden; }
|
||||||
|
|
||||||
/* Newspaper columns, so the short groups fill the gaps under the long ones. */
|
/* Newspaper columns, so the short groups fill the gaps under the long ones. */
|
||||||
.cols { columns: 38ch; column-gap: 32px; }
|
.cols { columns: 44ch; column-gap: 36px; }
|
||||||
|
|
||||||
section { break-inside: avoid; min-width: 0; margin: 0 0 20px; }
|
section { break-inside: avoid; min-width: 0; margin: 0 0 20px; }
|
||||||
|
|
||||||
@@ -187,16 +187,20 @@
|
|||||||
}
|
}
|
||||||
h2::after { content: ''; height: 1px; flex: 1; background: var(--overlay); }
|
h2::after { content: ''; height: 1px; flex: 1; background: var(--overlay); }
|
||||||
|
|
||||||
|
/* The key column is capped, so one long signature cannot squeeze every
|
||||||
|
description in its group down to a letter a line; arguments wrap
|
||||||
|
underneath the name instead. */
|
||||||
dl {
|
dl {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: max-content minmax(0, 1fr);
|
grid-template-columns: fit-content(20ch) minmax(0, 1fr);
|
||||||
gap: 4px 14px;
|
gap: 7px 16px;
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
|
line-height: 1.45;
|
||||||
}
|
}
|
||||||
dt { color: var(--light); white-space: nowrap; }
|
dt { color: var(--light); white-space: nowrap; }
|
||||||
.args { margin-left: 0.6ch; }
|
.args { display: block; white-space: normal; font-size: 11px; }
|
||||||
dd { margin: 0; color: var(--subtle); overflow-wrap: anywhere; }
|
dd { margin: 0; color: var(--fg); overflow-wrap: break-word; }
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
Reference in new issue
Block a user