aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-studio.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 21:36:08 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 21:36:08 -0500
commit35dae567076b6ea8ed7d6f829cb5a38b45ccf02c (patch)
tree5aafe00797c25ca0f111c7644c9d6c0b791c07ad /scripts/theme-studio/theme-studio.html
parent955467ac20de8753b38b22467963c838b944898c (diff)
downloaddotemacs-35dae567076b6ea8ed7d6f829cb5a38b45ccf02c.tar.gz
dotemacs-35dae567076b6ea8ed7d6f829cb5a38b45ccf02c.zip
fix(theme-studio): hold the package preview height
Selecting a compact package (auto-dim, with a 2-row face table and a short preview) collapsed the package section and shortened the page. A 60vh floor on the preview keeps the section sized to the largest of the columns, the preview, or that floor, so switching packages no longer shrinks the page.
Diffstat (limited to 'scripts/theme-studio/theme-studio.html')
-rw-r--r--scripts/theme-studio/theme-studio.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/theme-studio/theme-studio.html b/scripts/theme-studio/theme-studio.html
index 16b112f39..3df7609bb 100644
--- a/scripts/theme-studio/theme-studio.html
+++ b/scripts/theme-studio/theme-studio.html
@@ -236,7 +236,7 @@
</section>
<section class="pane grow" style="display:flex;flex-direction:column">
<div class="langbar"><label id="pkgprevlabel" style="color:#b4b1a2">preview</label></div>
- <div id="pkgpreview" class="mock" style="overflow:auto"></div>
+ <div id="pkgpreview" class="mock" style="overflow:auto;min-height:60vh"></div>
</section>
</div>
<script>