repertoire keyword column: smaller font (step--1), tighter line-height (1.15), no hyphenation

This commit is contained in:
Pontoporeia
2026-07-10 15:59:48 +02:00
parent 0045c06fef
commit ed19e30cf0
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -6,3 +6,4 @@
- [x] Remove TOC temporary debug error_log calls - [x] Remove TOC temporary debug error_log calls
- [x] Fix PeerTube upload failure: PHP /tmp tmpfs too small for large video files - [x] Fix PeerTube upload failure: PHP /tmp tmpfs too small for large video files
- [x] Fix keyword word-breaking in repertoire.php: widen kw grid column, add white-space: nowrap - [x] Fix keyword word-breaking in repertoire.php: widen kw grid column, add white-space: nowrap
- [x] Fix licence.php TOC: restore `open` attribute on `<details class="toc">` (lost in vrxsstns, never restored by uuomvtvm fix)
+3 -2
View File
@@ -122,8 +122,9 @@
line-height: 22px; line-height: 22px;
} }
.repertoire-col[data-col="kw"] button { .repertoire-col[data-col="kw"] button {
font-size: calc(var(--step--1)*1.15); font-size: var(--step--1);
hyphens: auto; line-height: 1.15;
hyphens: none;
overflow-wrap: break-word; overflow-wrap: break-word;
word-break: normal; word-break: normal;
} }
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- Table of contents: collapsible on mobile, force-open on desktop --> <!-- Table of contents: collapsible on mobile, force-open on desktop -->
<?php if (!empty($tocItems)): ?> <?php if (!empty($tocItems)): ?>
<details class="toc"> <details class="toc" open>
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary> <summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
<ul class="toc-list"> <ul class="toc-list">
<?php foreach ($tocItems as $item): ?> <?php foreach ($tocItems as $item): ?>