Skip to content

Commit 5497b1b

Browse files
authored
Website Update
1 parent dc68e1d commit 5497b1b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/assets/js/shell.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
const sheetContent = nav.querySelector('.sheet-content');
201201
if (rowRect && sheetContent){
202202
const sheetContentRect = sheetContent.getBoundingClientRect();
203-
const menuGap = Math.round(Math.min(Math.max(viewportHeight * 0.172, 106), 140));
203+
const menuGap = Math.round(Math.min(Math.max(viewportHeight * 0.164, 100), 134));
204204
const menuTop = Math.round(Math.max(72, rowRect.bottom + menuGap - sheetContentRect.top) - compositionLift);
205205
root.style.setProperty('--mobile-menu-top', `${menuTop}px`);
206206
}
@@ -214,7 +214,7 @@
214214
if (brand && firstLink && rowRect){
215215
const logoRect = (logo || brand).getBoundingClientRect();
216216
const firstLinkRect = firstLink.getBoundingClientRect();
217-
const gapAbove = Math.round(Math.min(Math.max(viewportHeight * 0.016, 9), 13));
217+
const gapAbove = Math.round(Math.min(Math.max(viewportHeight * 0.013, 7), 11));
218218
const alignedTop = firstLinkRect.top - logoRect.height - gapAbove;
219219
const minLogoTop = Math.round(rowRect.top + 8);
220220
const targetTop = Math.max(alignedTop, minLogoTop) - compositionLift;

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ <h2>Live Modules</h2>
136136

137137
<div id="footer-slot"></div>
138138

139-
<script src="assets/js/shell.js?v=20260408d" defer></script>
139+
<script src="assets/js/shell.js?v=20260408e" defer></script>
140140
</body>
141141
</html>

0 commit comments

Comments
 (0)