box model tests

This commit is contained in:
Will McGugan
2022-04-21 11:51:38 +01:00
parent bc63723363
commit b25dbf8771

View File

@@ -73,7 +73,8 @@ App > Screen {
Tweet { Tweet {
height: 12; height: 12;
max-width: 80; width: 80;
margin: 1 3; margin: 1 3;
background: $panel; background: $panel;
color: $text-panel; color: $text-panel;
@@ -86,6 +87,7 @@ Tweet {
} }
.scrollable { .scrollable {
width: 80;
overflow-y: scroll; overflow-y: scroll;
max-width:80; max-width:80;
height: 20; height: 20;
@@ -96,7 +98,7 @@ Tweet {
.code { .code {
height: 34; height: 34;
width: 100%;
} }
@@ -108,6 +110,7 @@ TweetHeader {
} }
TweetBody { TweetBody {
width: 100%;
background: $panel; background: $panel;
color: $text-panel; color: $text-panel;
height:20; height:20;
@@ -175,7 +178,7 @@ OptionItem:hover {
} }
Error { Error {
max-width: 80; width: 80;
height:3; height:3;
background: $error; background: $error;
color: $text-error; color: $text-error;
@@ -188,7 +191,7 @@ Error {
} }
Warning { Warning {
max-width: 80; width: 80;
height:3; height:3;
background: $warning; background: $warning;
color: $text-warning-fade-1; color: $text-warning-fade-1;
@@ -200,7 +203,7 @@ Warning {
} }
Success { Success {
max-width: 80; width: 80;
height:3; height:3;
box-sizing: border-box; box-sizing: border-box;
background: $success-lighten-3; background: $success-lighten-3;