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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user