@tekkare/romulus 0.1.365 → 0.1.366
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -99,6 +99,8 @@ watch(() => props.modelValue, (open) => { if (open) fitRail() }, { immediate: tr
|
|
|
99
99
|
|
|
100
100
|
const sideOffset = computed(() => props.offset ?? railFit.value?.offset ?? '0px')
|
|
101
101
|
const edgeInset = computed(() => props.inset ?? railFit.value?.inset)
|
|
102
|
+
/** Le voile s'arrete au rail : le tiroir pose a cote, le rail reste net et cliquable. */
|
|
103
|
+
const overlayStyle = computed(() => [layer.value, railFit.value ? { right: railFit.value.offset } : {}])
|
|
102
104
|
</script>
|
|
103
105
|
|
|
104
106
|
<template>
|
|
@@ -107,7 +109,7 @@ const edgeInset = computed(() => props.inset ?? railFit.value?.inset)
|
|
|
107
109
|
<div
|
|
108
110
|
v-if="modelValue && overlay"
|
|
109
111
|
class="rm-drawer-overlay"
|
|
110
|
-
:style="
|
|
112
|
+
:style="overlayStyle"
|
|
111
113
|
@click="close"
|
|
112
114
|
/>
|
|
113
115
|
</Transition>
|