1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-desktop/gui/styles/user-webview-dialog.scss

25 lines
612 B
SCSS

.user-webview-dialog {
// Overflow should be handled within WebView dialogs (rather than externally).
// Allowing external overflow can create space for a scrollbar in some cases.
overflow: unset;
align-items: center;
--content-width: 90vw;
--content-height: 90vh;
&.-fit {
--content-width: auto;
--content-height: auto;
}
> .content {
display: flex;
flex-direction: column;
background-color: var(--joplin-background-color);
padding: var(--joplin-main-padding);
border-radius: 4px;
box-shadow: 0 6px 10px #00000077;
width: var(--content-width);
height: var(--content-height);
}
}