Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): wrong positioning of modals due to mobile changes

Elian Doran416144265b54
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index e3d3f5279f..1d4bbf058d 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1681,13 +1681,15 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
background: var(--main-background-color);
}
- .modal-dialog {
- margin: var(--bs-modal-margin);
- max-width: 80%;
- }
+ body.mobile {
+ .modal-dialog {
+ margin: var(--bs-modal-margin);
+ max-width: 80%;
+ }
- .modal-content {
- height: 100%;
+ .modal-content {
+ height: 100%;
+ }
}
}