Skip to content

Commit e4aa952

Browse files
authored
Merge pull request #434 from raifdmueller/fix/cls-logo-explicit-size
fix: enforce explicit logo height + tighten shell dimensions
2 parents 16eccc4 + 14292cc commit e4aa952

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

website/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
-->
7777
<div id="app">
7878
<div id="shell-root" class="flex flex-col" style="min-height: 100vh;">
79-
<div id="shell-header" class="border-b border-[var(--color-border)]" style="min-height: 10.5rem;" aria-hidden="true"></div>
80-
<div id="page-content" class="flex-1" style="min-height: calc(100vh - 16.5rem);"></div>
81-
<div id="shell-footer" class="border-t border-[var(--color-border)]" style="min-height: 6rem;" aria-hidden="true"></div>
79+
<div id="shell-header" class="border-b border-[var(--color-border)]" style="height: 8.75rem;" aria-hidden="true"></div>
80+
<div id="page-content" class="flex-1" style="min-height: calc(100vh - 14.75rem);"></div>
81+
<div id="shell-footer" class="border-t border-[var(--color-border)]" style="height: 6rem;" aria-hidden="true"></div>
8282
</div>
8383
</div>
8484
<script type="module" src="/src/main.js"></script>

website/src/components/header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function renderHeader() {
1111
<!-- Logo left, spanning both rows -->
1212
<div class="flex items-center">
1313
<a href="#/" class="no-underline flex flex-col items-center">
14-
<img src="${import.meta.env.BASE_URL}logo.png" alt="Semantic Anchors" width="218" height="96" class="max-h-24 w-auto" />
14+
<img src="${import.meta.env.BASE_URL}logo.png" alt="Semantic Anchors" width="218" height="96" class="h-24 w-[218px]" />
1515
<span class="text-xs text-[var(--color-text-secondary)] leading-tight" data-i18n="header.slogan">${i18n.t('header.slogan')}</span>
1616
</a>
1717
<button
@@ -100,7 +100,7 @@ export function renderHeader() {
100100
<div class="sm:hidden">
101101
<div class="flex flex-col items-center">
102102
<a href="#/" class="no-underline flex flex-col items-center">
103-
<img src="${import.meta.env.BASE_URL}logo.png" alt="Semantic Anchors" width="145" height="64" class="max-h-16 w-auto" />
103+
<img src="${import.meta.env.BASE_URL}logo.png" alt="Semantic Anchors" width="145" height="64" class="h-16 w-[145px]" />
104104
<span class="text-xs text-[var(--color-text-secondary)] leading-tight text-center" data-i18n="header.slogan">${i18n.t('header.slogan')}</span>
105105
</a>
106106
<div class="flex items-center gap-3 mt-2">

0 commit comments

Comments
 (0)