mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
Make it possible to show input next to each other again
This commit is contained in:
parent
ee0cfc25e2
commit
d01c61f664
5 changed files with 12 additions and 1 deletions
|
@ -98,6 +98,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<style lang="scss">
|
||||
.code-mirror {
|
||||
height: 100%;
|
||||
|
||||
:global(.CodeMirror) {
|
||||
height: auto;
|
||||
}
|
||||
|
|
|
@ -186,5 +186,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
display: grid;
|
||||
/* TODO allow configuration of grid #1503 */
|
||||
/* grid-template-columns: repeat(2, 1fr); */
|
||||
|
||||
/* This defines the border between inputs */
|
||||
grid-gap: 1px;
|
||||
background-color: var(--border);
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -133,7 +133,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
@include elevation.elevation(
|
||||
2,
|
||||
$color: rgb(59 130 246),
|
||||
$opacity-boost: 0.2
|
||||
$opacity-boost: 0.8
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -157,7 +157,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<style lang="scss">
|
||||
.plain-text-input {
|
||||
height: 100%;
|
||||
|
||||
:global(.CodeMirror) {
|
||||
height: 100%;
|
||||
background: var(--code-bg);
|
||||
}
|
||||
|
||||
|
|
|
@ -243,6 +243,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<style lang="scss">
|
||||
.rich-text-input {
|
||||
height: 100%;
|
||||
|
||||
background-color: white;
|
||||
padding: 6px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue