mirror of
https://github.com/zadam/trilium.git
synced 2026-01-04 14:39:56 +01:00
108 lines
2.0 KiB
CSS
108 lines
2.0 KiB
CSS
body.mobile .revisions-dialog {
|
|
.modal-dialog {
|
|
height: 95vh;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25em;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.modal-title {
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.modal-body {
|
|
height: fit-content !important;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
}
|
|
|
|
.modal-footer {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.revision-list {
|
|
height: fit-content !important;
|
|
max-height: 20vh;
|
|
border-bottom: 1px solid var(--main-border-color) !important;
|
|
padding: 0 1em;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.modal-body > .revision-content-wrapper {
|
|
flex-grow: 1;
|
|
max-width: unset !important;
|
|
height: 100%;
|
|
margin: 0;
|
|
display: block !important;
|
|
}
|
|
|
|
.modal-body > .revision-content-wrapper > div:first-of-type {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.revision-title {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.revision-title-buttons {
|
|
text-align: center;
|
|
display: flex;
|
|
gap: 0.25em;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.revision-content {
|
|
padding: 0.5em;
|
|
height: fit-content;
|
|
}
|
|
}
|
|
|
|
.revisions-dialog {
|
|
.revision-title-buttons {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.revision-list {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.revision-content.type-file {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
flex-grow: 1;
|
|
|
|
.file-preview-table {
|
|
th,
|
|
td {
|
|
padding: 0.25em 0;
|
|
}
|
|
}
|
|
|
|
.revision-file-preview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.revision-file-preview-content {
|
|
flex-grow: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
> * {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|