Handle properly 2-col and 3-col desktop notifications

This commit is contained in:
tusooa 2022-11-08 00:37:22 -05:00
parent 771933183b
commit a34bea75a8
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -3,7 +3,8 @@
:disabled="minimalMode || disableTeleport"
:to="teleportTarget"
>
<div
<component
:is="noHeading ? 'div' : 'aside'"
ref="root"
:class="{ minimal: minimalMode }"
class="Notifications"
@ -88,7 +89,7 @@
</div>
</div>
</div>
</div>
</component>
</teleport>
</template>