Make it possible to show input next to each other again

This commit is contained in:
Henrik Giesel 2022-09-14 01:21:15 +02:00
parent ee0cfc25e2
commit d01c61f664
5 changed files with 12 additions and 1 deletions

View file

@ -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;
} }

View file

@ -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>

View file

@ -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
); );
} }
} }

View file

@ -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);
} }

View file

@ -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;
} }