fix: sidebar issues
This commit is contained in:
parent
d7ea034963
commit
17c08ecd44
@ -657,7 +657,7 @@ function handleAuxClick(e) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<URLConfirmModal ref="urlModal" />
|
<URLConfirmModal ref="urlModal" />
|
||||||
<NotificationPanel />
|
<NotificationPanel has-sidebar />
|
||||||
<ErrorModal ref="errorModal" />
|
<ErrorModal ref="errorModal" />
|
||||||
<ModInstallModal ref="modInstallModal" />
|
<ModInstallModal ref="modInstallModal" />
|
||||||
<IncompatibilityWarningModal ref="incompatibilityWarningModal" />
|
<IncompatibilityWarningModal ref="incompatibilityWarningModal" />
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
'intercom-present': isIntercomPresent,
|
'intercom-present': isIntercomPresent,
|
||||||
'location-left': notificationLocation === 'left',
|
'location-left': notificationLocation === 'left',
|
||||||
'location-right': notificationLocation === 'right',
|
'location-right': notificationLocation === 'right',
|
||||||
|
'has-sidebar': hasSidebar,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<transition-group name="notifs">
|
<transition-group name="notifs">
|
||||||
@ -134,6 +135,15 @@ onMounted(() => {
|
|||||||
observer.disconnect()
|
observer.disconnect()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
withDefaults(
|
||||||
|
defineProps<{
|
||||||
|
hasSidebar: boolean
|
||||||
|
}>(),
|
||||||
|
{
|
||||||
|
hasSidebar: false,
|
||||||
|
},
|
||||||
|
)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@ -145,6 +155,10 @@ onMounted(() => {
|
|||||||
|
|
||||||
&.location-right {
|
&.location-right {
|
||||||
right: 1.5rem;
|
right: 1.5rem;
|
||||||
|
|
||||||
|
&.has-sidebar {
|
||||||
|
right: 325px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.location-left {
|
&.location-left {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user