Merge pull request #25 from archtika/devel

Make nav logo image auto adjust to width
This commit is contained in:
Thilo Hohlt
2024-12-20 16:33:01 +01:00
committed by GitHub
3 changed files with 11 additions and 2 deletions

View File

@@ -75,9 +75,8 @@
<strong>{websiteOverview.header.logo_text}</strong>
{:else}
<img
class="top-nav-logo"
src="{apiUrl}/rpc/retrieve_file?id={websiteOverview.header.logo_image}"
width="32"
height="32"
alt=""
/>
{/if}

View File

@@ -71,6 +71,11 @@ section {
scroll-margin-block-start: var(--space-xl);
}
.top-nav-logo {
max-block-size: var(--space-xl);
padding-block: var(--space-xs);
}
@media (min-width: 1525px) {
#table-of-contents {
position: fixed;

View File

@@ -49,6 +49,11 @@ section {
scroll-margin-block-start: var(--space-xl);
}
.top-nav-logo {
max-block-size: var(--space-xl);
padding-block: var(--space-xs);
}
.docs-navigation {
display: none;
position: fixed;