Skip to content

Commit

Permalink
CSS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 25, 2024
1 parent 261fb2f commit 424cac2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
Binary file modified .coverage
Binary file not shown.
6 changes: 3 additions & 3 deletions src/posting/posting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ AppBody {
& KeyValueInput {
layout: vertical;
& Button {
width: 1fr;
width: 100%;
}
}

Expand Down Expand Up @@ -134,11 +134,11 @@ Footer {
}

RichLog {
background: $surface;
background: $surface 50%;
padding-left: 1;

&:focus {
background: $surface-lighten-1;
background: $surface-lighten-1 50%;
border-left: wide $accent;
padding-left: 0;
}
Expand Down
1 change: 1 addition & 0 deletions src/posting/widgets/key_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class KeyValueInput(Horizontal):
border: none;
width: 1fr;
margin-left: 1;
margin-right: 1;
&:focus {
border: none;
padding: 0 1;
Expand Down
15 changes: 6 additions & 9 deletions src/posting/widgets/request/request_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class RequestOptions(VerticalScroll):
Checkbox {
height: 1;
margin: 0 2 1 2;
padding: 0 1;
border: none;
background: transparent;
Expand All @@ -32,15 +31,13 @@ class RequestOptions(VerticalScroll):
}
#proxy-option {
padding-left: 3;
margin-bottom: 1;
height: auto;
padding: 0 1 0 2;
height: 2;
}
#timeout-option {
padding-left: 3;
height: auto;
margin-bottom: 1;
padding: 0 1 0 2;
height: 2;
}
& #option-description {
Expand Down Expand Up @@ -98,11 +95,11 @@ def compose(self) -> ComposeResult:
)

with Vertical(id="proxy-option"):
yield Label("Proxy URL")
yield Label("Proxy URL:")
yield VariableInput(id="proxy-url")

with Vertical(id="timeout-option"):
yield Label("Timeout")
yield Label("Timeout:")
yield VariableInput(
value=str(self.options.timeout),
id="timeout",
Expand Down

0 comments on commit 424cac2

Please sign in to comment.