Make user panel and notification <aside>

This commit is contained in:
tusooa 2022-11-08 00:23:08 -05:00
parent d41e7a4c6d
commit 771933183b
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
3 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@
<instance-specific-panel v-if="showInstanceSpecificPanel" /> <instance-specific-panel v-if="showInstanceSpecificPanel" />
<features-panel v-if="!currentUser && showFeaturesPanel" /> <features-panel v-if="!currentUser && showFeaturesPanel" />
<who-to-follow-panel v-if="currentUser && suggestionsEnabled" /> <who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
<div id="notifs-sidebar" /> <aside id="notifs-sidebar" />
</template> </template>
</div> </div>
<main <main

View File

@ -42,7 +42,7 @@
</button> </button>
</div> </div>
</nav> </nav>
<div <aside
v-if="currentUser" v-if="currentUser"
class="mobile-notifications-drawer" class="mobile-notifications-drawer"
:class="{ '-closed': !notificationsOpen }" :class="{ '-closed': !notificationsOpen }"
@ -83,7 +83,7 @@
ref="mobileNotifications" ref="mobileNotifications"
@scroll="onScroll" @scroll="onScroll"
/> />
</div> </aside>
<SideDrawer <SideDrawer
ref="sideDrawer" ref="sideDrawer"
:logout="logout" :logout="logout"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="user-panel"> <aside class="user-panel">
<div <div
v-if="signedIn" v-if="signedIn"
key="user-panel-signed" key="user-panel-signed"
@ -16,7 +16,7 @@
v-else v-else
key="user-panel" key="user-panel"
/> />
</div> </aside>
</template> </template>
<script src="./user_panel.js"></script> <script src="./user_panel.js"></script>