mirror of
https://github.com/1j01/textual-paint.git
synced 2024-09-19 19:57:41 +03:00
Simplify further and fix Toolbox hiding behavior
Yay, this is how simple I originally thought it was going to be.
This commit is contained in:
parent
8040196f10
commit
c076a1b5de
14
paint.css
14
paint.css
@ -3,21 +3,15 @@ Screen {
|
||||
}
|
||||
|
||||
#paint {
|
||||
layout: grid;
|
||||
grid-size: 1;
|
||||
grid-columns: 1fr;
|
||||
grid-rows: 1fr 6;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
#main_horizontal_split {
|
||||
layout: grid;
|
||||
grid-size: 2;
|
||||
grid-columns: 15 1fr;
|
||||
grid-rows: 1fr;
|
||||
margin: 0 0;
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
#editing_area {
|
||||
width: 1fr;
|
||||
background: rgb(128, 128, 128);
|
||||
}
|
||||
.-dark-mode #editing_area {
|
||||
@ -38,6 +32,7 @@ Screen {
|
||||
grid-columns: 6;
|
||||
grid-rows: 3;
|
||||
padding: 0 1;
|
||||
width: 15;
|
||||
height: 100%;
|
||||
/* can't have a border without taking up a whole cell, and it's more important to show as much of the tools as possible */
|
||||
/* border-bottom: tall $panel-darken-2; */
|
||||
@ -56,6 +51,7 @@ Screen {
|
||||
}
|
||||
|
||||
#colors_box {
|
||||
height: 6;
|
||||
layout: grid;
|
||||
grid-size: 2;
|
||||
grid-columns: 10 1fr;
|
||||
|
Loading…
Reference in New Issue
Block a user