PlugOS refactor and other tweaks (#631)
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy) * Prototype of fixed in-process loading plugs * Fix: buttons not to scroll with content * Better positioning of modal especially on mobile * Move query caching outside query * Fix annoying mouse behavior when filter box appears * Page navigator search tweaks
This commit is contained in:
@@ -428,12 +428,12 @@
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.sb-markdown-top-widget:has(*) {
|
||||
.sb-markdown-top-widget:has(*) .content {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
@media screen and (max-height: 1000px) {
|
||||
.sb-markdown-top-widget:has(*) {
|
||||
.sb-markdown-top-widget:has(*) .content {
|
||||
max-height: 300px;
|
||||
}
|
||||
}
|
||||
@@ -441,13 +441,16 @@
|
||||
.sb-markdown-widget,
|
||||
.sb-markdown-top-widget:has(*),
|
||||
.sb-markdown-bottom-widget:has(*) {
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--editor-widget-background-color);
|
||||
border-radius: 5px;
|
||||
white-space: normal;
|
||||
position: relative;
|
||||
min-height: 48px;
|
||||
|
||||
.content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin-top: 0;
|
||||
|
||||
+11
-15
@@ -1,20 +1,16 @@
|
||||
.sb-modal-wrapper {
|
||||
position: absolute;
|
||||
margin: auto;
|
||||
max-width: 500px;
|
||||
height: 600px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
max-height: 290px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.sb-modal-box {
|
||||
position: absolute;
|
||||
// At the toppest of the toppest
|
||||
z-index: 1000;
|
||||
|
||||
top: 60px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 700px;
|
||||
max-width: 90%;
|
||||
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin: 10px;
|
||||
|
||||
.cm-content {
|
||||
padding: 0;
|
||||
@@ -53,7 +49,7 @@
|
||||
}
|
||||
|
||||
.sb-result-list {
|
||||
max-height: 216px;
|
||||
max-height: 250px;
|
||||
overflow-y: scroll;
|
||||
|
||||
.sb-icon {
|
||||
|
||||
Reference in New Issue
Block a user