Tabs on record pages, quick looks, forms, the admin category and tag kinds on a phone and the mail settings fold into More like the list views instead of wrapping onto several lines or scrolling sideways, with More styled as one of the tabs and the open tab and form validation still working

This commit is contained in:
johnnyq
2026-11-20 17:32:26 -05:00
parent 156bc96693
commit 478c8edcc8
7 changed files with 79 additions and 54 deletions

View File

@@ -107,7 +107,7 @@ $csrf = $_SESSION['csrf_token'];
<div class="row g-0">
<!-- Kinds -->
<div class="col-md-4 col-lg-3 border-end">
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-category-kinds" aria-label="Kinds of category">
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-category-kinds itflow-tabs-foldable" aria-label="Kinds of category">
<?php foreach ($kinds as $kind_key => $kind_config) { ?>
<a class="nav-link d-flex align-items-center gap-2 text-nowrap<?= $kind_key === $kind ? ' active' : '' ?>" href="categories.php?category=<?= urlencode($kind_key) ?>" title="<?= escapeHtml($kind_config['about']) ?>"<?= $kind_key === $kind ? ' aria-current="page"' : '' ?>>
<i class="fas fa-fw <?= $kind_config['icon'] ?>"></i><span class="text-truncate"><?= escapeHtml($kind_config['label']) ?></span>