mirror of
https://github.com/zadam/trilium.git
synced 2025-12-01 04:54:25 +01:00
fix(revisions): double scrolling on mobile
This commit is contained in:
parent
5ff77c16ab
commit
b47bc50147
@ -16,7 +16,7 @@ body.mobile .revisions-dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
height: 100% !important;
|
height: fit-content !important;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@ -30,14 +30,15 @@ body.mobile .revisions-dialog {
|
|||||||
max-height: 20vh;
|
max-height: 20vh;
|
||||||
border-bottom: 1px solid var(--main-border-color) !important;
|
border-bottom: 1px solid var(--main-border-color) !important;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body > .revision-content-wrapper {
|
.modal-body > .revision-content-wrapper {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: unset !important;
|
max-width: unset !important;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body > .revision-content-wrapper > div:first-of-type {
|
.modal-body > .revision-content-wrapper > div:first-of-type {
|
||||||
@ -57,5 +58,6 @@ body.mobile .revisions-dialog {
|
|||||||
|
|
||||||
.revision-content {
|
.revision-content {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
height: fit-content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user