mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
71 lines
1.1 KiB
CSS
71 lines
1.1 KiB
CSS
#mobile-editor-toolbar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
left: 0;
|
|
justify-content: center;
|
|
height: 2.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
|
|
transition: top 0.3s;
|
|
|
|
> button {
|
|
padding: 5px;
|
|
}
|
|
}
|
|
|
|
.editor-wrapper {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.editor-inner {
|
|
position: relative;
|
|
display: flex;
|
|
|
|
textarea {
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
resize: none;
|
|
}
|
|
}
|
|
|
|
.absolute-modal {
|
|
overflow: auto;
|
|
background: var(--ls-primary-background-color);
|
|
|
|
&.is-overflow-vw-x {
|
|
transform: translateX(calc(-100% + 1rem));
|
|
}
|
|
}
|
|
|
|
.is-mobile {
|
|
.absolute-modal {
|
|
&.is-overflow-vw-x {
|
|
transform: translateX(-1%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.non-block-editor textarea,
|
|
pre {
|
|
display: block;
|
|
padding: 0.5rem;
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.non-block-editor textarea {
|
|
background: #f6f8fa;
|
|
background: var(--ls-secondary-background-color);
|
|
}
|
|
|
|
/* Fix autocomplete preview */
|
|
.preview-trigger-wrapper > [data-tooltipped] {
|
|
display: block !important;
|
|
}
|