mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 17:36:33 +00:00
fix(ui): size of modal unstable for responsive content
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
.menu-link {
|
||||
word-break: break-all;
|
||||
|
||||
.has-help {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -100,13 +102,23 @@
|
||||
|
||||
overflow: hidden;
|
||||
background: var(--ls-secondary-background-color);
|
||||
max-width: 96vw;
|
||||
|
||||
.panel-content {
|
||||
overflow-y: auto;
|
||||
max-width: 1024px;
|
||||
width: 94vw;
|
||||
max-height: 85vh;
|
||||
padding: 2rem;
|
||||
|
||||
@screen md {
|
||||
min-width: 760px;
|
||||
width: auto;
|
||||
|
||||
.ls-card {
|
||||
width: 740px;
|
||||
min-height: 60vh;
|
||||
max-height: 740px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,18 +148,6 @@ html.is-mobile {
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.panel-content {
|
||||
min-width: 820px;
|
||||
}
|
||||
|
||||
.panel-content .ls-card {
|
||||
width: 740px;
|
||||
min-height: 60vh;
|
||||
max-height: 740px;
|
||||
}
|
||||
}
|
||||
|
||||
.ui__button {
|
||||
@apply items-center px-3 py-2 border border-transparent
|
||||
text-sm leading-4 font-medium rounded-md text-white
|
||||
|
||||
Reference in New Issue
Block a user