mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Merge pull request #25 from archtika/devel
Make nav logo image auto adjust to width
This commit is contained in:
@@ -75,9 +75,8 @@
|
|||||||
<strong>{websiteOverview.header.logo_text}</strong>
|
<strong>{websiteOverview.header.logo_text}</strong>
|
||||||
{:else}
|
{:else}
|
||||||
<img
|
<img
|
||||||
|
class="top-nav-logo"
|
||||||
src="{apiUrl}/rpc/retrieve_file?id={websiteOverview.header.logo_image}"
|
src="{apiUrl}/rpc/retrieve_file?id={websiteOverview.header.logo_image}"
|
||||||
width="32"
|
|
||||||
height="32"
|
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -71,6 +71,11 @@ section {
|
|||||||
scroll-margin-block-start: var(--space-xl);
|
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) {
|
@media (min-width: 1525px) {
|
||||||
#table-of-contents {
|
#table-of-contents {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@@ -49,6 +49,11 @@ section {
|
|||||||
scroll-margin-block-start: var(--space-xl);
|
scroll-margin-block-start: var(--space-xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-nav-logo {
|
||||||
|
max-block-size: var(--space-xl);
|
||||||
|
padding-block: var(--space-xs);
|
||||||
|
}
|
||||||
|
|
||||||
.docs-navigation {
|
.docs-navigation {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
Reference in New Issue
Block a user