|
@@ -1,12 +1,12 @@
|
|
<template>
|
|
<template>
|
|
<b-modal
|
|
<b-modal
|
|
:id="id"
|
|
:id="id"
|
|
- class="modal-image"
|
|
|
|
- static hide-footer hide-header
|
|
|
|
|
|
+ modal-class="modal-image"
|
|
|
|
+ hide-footer hide-header
|
|
>
|
|
>
|
|
<template #default="{ close }">
|
|
<template #default="{ close }">
|
|
<div class="modal-image-wrapper">
|
|
<div class="modal-image-wrapper">
|
|
- <button-expand expanded @click="close()" />
|
|
|
|
|
|
+ <button-expand expanded @click="close()" />
|
|
<img
|
|
<img
|
|
v-if="image"
|
|
v-if="image"
|
|
:src="image.url" :alt="image.alt"
|
|
:src="image.url" :alt="image.alt"
|
|
@@ -28,11 +28,11 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
|
|
+<style lang="scss">
|
|
.modal-image {
|
|
.modal-image {
|
|
z-index: 1100;
|
|
z-index: 1100;
|
|
|
|
|
|
- ::v-deep .modal {
|
|
|
|
|
|
+ .modal {
|
|
&-dialog {
|
|
&-dialog {
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -76,6 +76,5 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|