Handle properly 2-col and 3-col desktop notifications
This commit is contained in:
parent
771933183b
commit
a34bea75a8
|
@ -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" />
|
||||||
<aside id="notifs-sidebar" />
|
<div id="notifs-sidebar" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<main
|
<main
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
:disabled="minimalMode || disableTeleport"
|
:disabled="minimalMode || disableTeleport"
|
||||||
:to="teleportTarget"
|
:to="teleportTarget"
|
||||||
>
|
>
|
||||||
<div
|
<component
|
||||||
|
:is="noHeading ? 'div' : 'aside'"
|
||||||
ref="root"
|
ref="root"
|
||||||
:class="{ minimal: minimalMode }"
|
:class="{ minimal: minimalMode }"
|
||||||
class="Notifications"
|
class="Notifications"
|
||||||
|
@ -88,7 +89,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</component>
|
||||||
</teleport>
|
</teleport>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue