fix(ui): left menu not scrollable (#52)
This commit is contained in:
parent
2ab3d5dbe7
commit
225273d00e
|
@ -5,17 +5,21 @@
|
||||||
<div sticky top-0 h-screen flex="~ col">
|
<div sticky top-0 h-screen flex="~ col">
|
||||||
<slot name="left">
|
<slot name="left">
|
||||||
<NavTitle p5 />
|
<NavTitle p5 />
|
||||||
<NavSide border="y base" />
|
<div border="t base" flex="~ col" overflow-y-auto>
|
||||||
<PublishButton v-if="currentUser" m5 />
|
<NavSide border="b base" />
|
||||||
<div flex-auto />
|
<PublishButton v-if="currentUser" m5 />
|
||||||
<AccountInfo
|
<div flex-auto />
|
||||||
v-if="currentUser"
|
<AccountInfo
|
||||||
m5 p2 rounded-full
|
v-if="currentUser"
|
||||||
hover:bg-active cursor-pointer transition-100
|
tabindex="0"
|
||||||
:account="currentUser?.account"
|
m5 p2 rounded-full
|
||||||
:link="false"
|
hover:bg-active cursor-pointer transition-100
|
||||||
@click="openUserSwitcher"
|
:account="currentUser?.account"
|
||||||
/>
|
:link="false"
|
||||||
|
@keydown.enter="openUserSwitcher"
|
||||||
|
@click="openUserSwitcher"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue