Move modal top spacing to the header to avoid side-effect when scrolling

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-19 16:39:41 +01:00
parent 012f3ea5dd
commit 80f49360d6

View File

@@ -168,12 +168,13 @@ export default {
left: 0;
right: 0;
max-width: calc(100% - #{$modal-padding*2});
padding: 14px;
max-height: calc(100% - #{$modal-padding*2});
padding: 0 14px;
max-height: 100%;
&::v-deep {
.app-sidebar-header {
position: sticky;
top: 0;
padding-top: $modal-padding;
z-index: 100;
background-color: var(--color-main-background);
}