dev #33

Merged
artem merged 7 commits from dev into main 2023-10-05 13:32:55 +02:00
Showing only changes of commit d2c70fc006 - Show all commits

View File

@ -24,7 +24,7 @@
</button>
</div>
</div>
<div class="dialog-body" :class="{ hideXScroll: disableXscroll == true, hideYScroll: disableYscroll == true, }">
<div class="dialog-body" :class="{ hideXScroll: disableXscroll == true, hideYScroll: disableYscroll == true, 'flat-dialog-header': flatDialogHeader == true}">
<slot />
<div class="dialog-body-content" v-if="dialogContent" v-html="dialogContent" />
</div>
@ -254,8 +254,8 @@ export default {
max-height: 80%;
display: flex;
flex-direction: column;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
position: absolute;
}
@ -278,8 +278,8 @@ export default {
flex-shrink: 0;
background-color: var(--background);
box-shadow: 0px 1px 4px var(--shadow);
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
z-index: 1;
}
@ -408,6 +408,7 @@ export default {
.dialog-header.flat-dialog-header>.dialog-header-right>button {
color: var(--white);
}
.dialog-header.flat-dialog-header>.dialog-header-right>button:hover {
color: var(--gray);
}
@ -419,6 +420,11 @@ export default {
flex-grow: 1;
}
.dialog-body.flat-dialog-header {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.dialog-body.hideXScroll {
overflow-x: hidden;
}