mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
repertoire keyword column: smaller font (step--1), tighter line-height (1.15), no hyphenation
This commit is contained in:
@@ -122,8 +122,9 @@
|
||||
line-height: 22px;
|
||||
}
|
||||
.repertoire-col[data-col="kw"] button {
|
||||
font-size: calc(var(--step--1)*1.15);
|
||||
hyphens: auto;
|
||||
font-size: var(--step--1);
|
||||
line-height: 1.15;
|
||||
hyphens: none;
|
||||
overflow-wrap: break-word;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!-- Table of contents: collapsible on mobile, force-open on desktop -->
|
||||
<?php if (!empty($tocItems)): ?>
|
||||
<details class="toc">
|
||||
<details class="toc" open>
|
||||
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
|
||||
<ul class="toc-list">
|
||||
<?php foreach ($tocItems as $item): ?>
|
||||
|
||||
Reference in New Issue
Block a user