navbar: reduce the top gap + persist topside
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9c6fd898ca
commit
13b9c3bdb4
|
@ -1,4 +1,4 @@
|
|||
<nav class="sticky top-3 z-20 backdrop-blur-sm border-gray-200 dark:border-gray-700 mx-auto md:mx-6">
|
||||
<nav class="sticky top-0 md:pt-3 z-20 backdrop-blur-sm border-gray-200 dark:border-gray-700 mx-auto md:mx-6">
|
||||
<div class="max-w-screen-3xl flex flex-wrap items-center justify-between mx-auto p-2">
|
||||
<a href="/" class="flex items-center">
|
||||
<img src="/static/img/logo-pcmt.svg" class="h-8 mr-3" alt="logo" />
|
||||
|
@ -12,7 +12,7 @@
|
|||
1-1-1z"/></svg>
|
||||
</span>
|
||||
</button>
|
||||
<div class="hidden group-hover/navbar:block fixed z-50 right-[3.2rem] top-2 overflow-y-auto max-w-10 md:block md:w-auto" id="navbar">
|
||||
<div class="hidden group-hover/navbar:block fixed md:static z-50 right-[3.2rem] top-2 overflow-y-auto max-w-10 md:block md:w-auto" id="navbar">
|
||||
<ul class="flex flex-col items-center font-medium p-4 md:p-0 mt-2 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
|
||||
<li>
|
||||
{{ if pageIs .Current "home" }}
|
||||
|
|
Loading…
Reference in New Issue