Manual merge of #452

pull/463/head
Zef Hemel 2023-07-10 13:16:22 +02:00
parent 2ae538a5e5
commit f7edfec6e0
3 changed files with 30 additions and 7 deletions

View File

@ -195,6 +195,7 @@
.cm-task-checked { .cm-task-checked {
text-decoration: line-through !important; text-decoration: line-through !important;
} }
.cm-tooltip-autocomplete { .cm-tooltip-autocomplete {
.cm-completionDetail { .cm-completionDetail {
font-style: normal; font-style: normal;
@ -229,7 +230,7 @@
text-indent: -5ch; text-indent: -5ch;
} }
.sb-checkbox > input[type="checkbox"] { .sb-checkbox>input[type="checkbox"] {
width: 3ch; width: 3ch;
} }
@ -295,7 +296,7 @@
} }
a.sb-wiki-link-page-missing, a.sb-wiki-link-page-missing,
.sb-wiki-link-page-missing > .sb-wiki-link-page { .sb-wiki-link-page-missing>.sb-wiki-link-page {
border-radius: 5px; border-radius: 5px;
padding: 0 5px; padding: 0 5px;
// white-space: nowrap; // white-space: nowrap;
@ -344,7 +345,7 @@
font-size: 80%; font-size: 80%;
} }
& > span, &>span,
&.sb-directive-start, &.sb-directive-start,
&.sb-directive-end { &.sb-directive-end {
color: transparent; color: transparent;
@ -356,6 +357,7 @@
.sb-meta { .sb-meta {
color: transparent; color: transparent;
} }
color: transparent; color: transparent;
} }
@ -445,7 +447,7 @@
} }
} }
.sb-line-blockquote.sb-line-ul.sb-line-li > .sb-quote.sb-meta:first-child { .sb-line-blockquote.sb-line-ul.sb-line-li>.sb-quote.sb-meta:first-child {
margin-left: -1ch; margin-left: -1ch;
} }
@ -476,3 +478,24 @@
div:not(.cm-focused).cm-fat-cursor { div:not(.cm-focused).cm-fat-cursor {
outline: none !important; outline: none !important;
} }
@media only screen and (max-width: 600px) {
#sb-main .cm-editor {
.sb-table-widget {
overflow: auto;
th,
td {
white-space: nowrap;
}
}
}
#sb-editor {
.sb-directive-start-outside,
.sb-directive-end-outside {
height: 22px;
}
}
}

View File

@ -81,7 +81,7 @@ body {
font-size: 15px; font-size: 15px;
z-index: 100; z-index: 100;
> div { >div {
padding: 3px; padding: 3px;
margin-bottom: 3px; margin-bottom: 3px;
border-radius: 5px; border-radius: 5px;
@ -204,4 +204,4 @@ body {
margin: 0; margin: 0;
} }
} }
} }

View File

@ -218,4 +218,4 @@ html[data-theme="dark"] {
--editor-directive-color: #5b5b5b; --editor-directive-color: #5b5b5b;
--editor-directive-info-color: var(--subtle-color); --editor-directive-info-color: var(--subtle-color);
--editor-task-marker-color: var(--subtle-color); --editor-task-marker-color: var(--subtle-color);
} }