mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -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">
|
<style lang="scss">
|
||||||
.code-mirror {
|
.code-mirror {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
:global(.CodeMirror) {
|
:global(.CodeMirror) {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,5 +186,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
display: grid;
|
display: grid;
|
||||||
/* TODO allow configuration of grid #1503 */
|
/* TODO allow configuration of grid #1503 */
|
||||||
/* grid-template-columns: repeat(2, 1fr); */
|
/* grid-template-columns: repeat(2, 1fr); */
|
||||||
|
|
||||||
|
/* This defines the border between inputs */
|
||||||
|
grid-gap: 1px;
|
||||||
|
background-color: var(--border);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -133,7 +133,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
@include elevation.elevation(
|
@include elevation.elevation(
|
||||||
2,
|
2,
|
||||||
$color: rgb(59 130 246),
|
$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">
|
<style lang="scss">
|
||||||
.plain-text-input {
|
.plain-text-input {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
:global(.CodeMirror) {
|
:global(.CodeMirror) {
|
||||||
|
height: 100%;
|
||||||
background: var(--code-bg);
|
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">
|
<style lang="scss">
|
||||||
.rich-text-input {
|
.rich-text-input {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue