diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-03-30 06:32:43 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-03-30 06:32:43 -0300 |
commit | 54b7277fb24da12e7c80be75cea660dd1aa34a46 (patch) | |
tree | 2a295766487994550c298a7f67e87fba6cf2569a /src | |
parent | 2f15109a3cc41f3bbacd0fd436702efb8a785da4 (diff) |
css: conclude collapse anim w/ height: auto
Permit the browser to take over height. This should always be the same value as we animated to, but avoids unpredicted cases just cutting off part of the heading completely. This has an impact on changing the font size (but not pixel size) while the sticky heading is collapsed, for example.
Diffstat (limited to 'src')
-rw-r--r-- | src/static/css/site.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index 6aa31c1e..02bd3982 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -3015,9 +3015,13 @@ main.long-content .content-sticky-heading-container .content-sticky-subheading-r height: var(--uncollapsed-heading-height); } - to { + 99.9% { height: var(--collapsed-heading-height); } + + to { + height: auto; + } } .content-sticky-heading-container h1 a { |