mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
box model tests
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user