Skip to content
Snippets Groups Projects
Unverified Commit a34bea75 authored by tusooa's avatar tusooa :zap:
Browse files

Handle properly 2-col and 3-col desktop notifications

parent 77193318
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1679Fix accessibility regressions
......@@ -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
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment