diff options
| author | tusooa <tusooa@kazv.moe> | 2022-11-08 00:37:22 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2022-11-08 00:37:22 -0500 |
| commit | a34bea75a808de9841f616896ebb630972475707 (patch) | |
| tree | 9f836f6c110c573d39f944171eb1726637209af5 /src/components/notifications/notifications.vue | |
| parent | 771933183be07d84f06103338f8b6b7c4ed282da (diff) | |
Handle properly 2-col and 3-col desktop notifications
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index f9c90a7e..7ed419d1 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -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> |
