Skip to content

Commit 457dc7c

Browse files
committed
chore: improve responsiveness of docs sidebar
1 parent f5c9f6e commit 457dc7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Web/Documentation/show.view.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ class="
114114
</x-template>
115115
</ul>
116116
</x-template>
117-
<div class="mt-auto flex flex-col gap-y-4">
117+
<div class="justify-end mt-4 grow flex flex-col gap-y-4">
118118
<!-- Version warning -->
119-
<div :if="$this->currentChapter->version === \App\Web\Documentation\Version::MAIN">
119+
<div :if="$this->currentChapter->version === \App\Web\Documentation\Version::MAIN" class="mt-4">
120120
<div class="text-sm text-(--ui-warning) inline-flex items-baseline gap-x-1.5">
121121
<x-icon name="tabler:info-circle" class="translate-y-[2px] size-4 shrink-0" />
122122
<span>This documentation is for an upcoming version of Tempest and is subject to change.</span>

0 commit comments

Comments
 (0)