Merge pull request #2587 from nextcloud/bugfix/2575

Move modal top spacing to the header to avoid side-effect when scrolling
This commit is contained in:
Julius Härtl
2020-11-24 11:49:56 +01:00
committed by GitHub

View File

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