@mixd-id/web-scaffold 0.1.240411022 → 0.1.240411023
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/package.json
CHANGED
package/src/components/Modal.vue
CHANGED
|
@@ -359,7 +359,7 @@ export default{
|
|
|
359
359
|
.modal{
|
|
360
360
|
@apply fixed;
|
|
361
361
|
@apply bg-base-300 dark:bg-base-400;
|
|
362
|
-
@apply border-[1px] border-text-50 z-20 flex max-h-[90vh];
|
|
362
|
+
@apply border-[1px] border-text-50 z-20 flex max-h-[90vh] max-w-full;
|
|
363
363
|
@apply rounded-xl overflow-hidden transition-all;
|
|
364
364
|
}
|
|
365
365
|
html[data-theme='dark'] .modal{
|
|
@@ -406,6 +406,7 @@ html[data-theme='dark'] .overlay{
|
|
|
406
406
|
@media screen and (max-width: 640px){
|
|
407
407
|
|
|
408
408
|
.modal {
|
|
409
|
+
width: 100vw;
|
|
409
410
|
max-height: 90vh;
|
|
410
411
|
}
|
|
411
412
|
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
<small class="text-text-400">{{ $t('OG')}}</small>
|
|
124
124
|
</div>
|
|
125
125
|
<div class="flex flex-row gap-2 bg-base-500 border-[1px] border-text-200 rounded-lg p-1 cursor-pointer"
|
|
126
|
-
@click="$refs.ogModal.open({ ...this.page.og })"
|
|
126
|
+
@click="$refs.ogModal.open({ ...this.page.og }, og => page.og = og)"
|
|
127
127
|
v-if="page.og && Object.keys(page.og).length > 0">
|
|
128
128
|
<div>
|
|
129
129
|
<Image :src="imageUrl(page.og)" class="w-[40px] aspect-square bg-text-50" />
|