Skip to content

Commit 534e071

Browse files
committed
Aesthetic patch.
Changelog excerpt: - Some sticky elements now have their own scroll context.
1 parent abc55a9 commit 534e071

File tree

9 files changed

+12
-11
lines changed

9 files changed

+12
-11
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,4 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
216216
- [2025.08.31]: Slightly reworked the logs page and the configuration page.
217217
- [2025.09.03]: Slightly improved the code for traversal detection.
218218
- [2025.10.03]: Optimised some iterators.
219+
- [2025.10.22]: Some sticky elements now have their own scroll context.

assets/bluemetal/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ input[type=hidden],script{display:none}
171171
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
172172
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
173173
.reverse{text-align:{FE_Align_Reverse}}
174-
.stickybox{position:sticky;top:2px}
174+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
175175
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
176176
@media only all and (max-width:968px) {
177177
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/default/_config.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="mainbox">
22
<nav class="big">
3-
{nav} <div class="ng1 idx stickybox" translate="no">
4-
<div class="subNav">{link.Configuration}</div>
5-
{Indexes}
6-
</div>
3+
{nav} <div class="ng1 idx stickybox" translate="no">
4+
<div class="subNav">{link.Configuration}</div>
5+
{Indexes}
6+
</div>
77
</nav>
88
<main class="extend">
99
<form action="?phpmussel-page=config" method="POST">

assets/default/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ input[type=hidden],script{display:none}
174174
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
175175
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
176176
.reverse{text-align:{FE_Align_Reverse}}
177-
.stickybox{position:sticky;top:2px}
177+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
178178
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
179179
@media only all and (max-width:968px) {
180180
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/moss/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ input[type=hidden],script{display:none}
173173
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
174174
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
175175
.reverse{text-align:{FE_Align_Reverse}}
176-
.stickybox{position:sticky;top:2px}
176+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
177177
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
178178
@media only all and (max-width:968px) {
179179
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/primer/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ input[type=hidden],script{display:none}
175175
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
176176
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
177177
.reverse{text-align:{FE_Align_Reverse}}
178-
.stickybox{position:sticky;top:2px}
178+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
179179
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
180180
@media only all and (max-width:968px) {
181181
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/primerdark/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ input[type=hidden],script{display:none}
178178
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
179179
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
180180
.reverse{text-align:{FE_Align_Reverse}}
181-
.stickybox{position:sticky;top:2px}
181+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
182182
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
183183
@media only all and (max-width:968px) {
184184
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/rbi/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ input[type=hidden],script{display:none}
174174
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
175175
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
176176
.reverse{text-align:{FE_Align_Reverse}}
177-
.stickybox{position:sticky;top:2px}
177+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
178178
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
179179
@media only all and (max-width:968px) {
180180
.quad:not(.accquad){grid-template-columns:1fr 1fr}

assets/slate/frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ input[type=hidden],script{display:none}
177177
.duo{display:grid;gap:2px;grid-template-columns:1fr 1fr;justify-content:stretch;justify-items:stretch}
178178
.col+.col,.col+.quad,.col+.duo,.quad+.col,.quad+.quad,.quad+.duo,.duo+.col,.duo+.quad,.duo+.duo{margin-top:2px}
179179
.reverse{text-align:{FE_Align_Reverse}}
180-
.stickybox{position:sticky;top:2px}
180+
.stickybox{position:sticky;top:2px;max-height:calc(100vh - 13px);overflow:visible auto}
181181
.gridboxitem,.gridboxcheckcell,.gridboxstretch,.va{align-content:center}
182182
@media only all and (max-width:968px) {
183183
.quad:not(.accquad){grid-template-columns:1fr 1fr}

0 commit comments

Comments
 (0)