mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
39 lines
537 B
Plaintext
39 lines
537 B
Plaintext
Screen {
|
|
overflow: auto;
|
|
}
|
|
|
|
#calculator {
|
|
layout: grid;
|
|
grid-size: 4;
|
|
grid-gutter: 1 2;
|
|
grid-columns: 1fr;
|
|
grid-rows: 2fr 1fr 1fr 1fr 1fr 1fr;
|
|
margin: 1 2;
|
|
min-height: 25;
|
|
min-width: 26;
|
|
height: 100%;
|
|
|
|
&:inline {
|
|
margin: 0 2;
|
|
}
|
|
}
|
|
|
|
Button {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#numbers {
|
|
column-span: 4;
|
|
padding: 0 1;
|
|
height: 100%;
|
|
background: $panel;
|
|
color: $text;
|
|
content-align: center middle;
|
|
text-align: right;
|
|
}
|
|
|
|
#number-0 {
|
|
column-span: 2;
|
|
}
|