Skip to content

Commit e95aee6

Browse files
authored
🔀 Merge pull request #194 from davep/tweak-input-layout
Tidy the look of the main input dialog
2 parents 3cb2bd3 + 5fe1a58 commit e95aee6

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Braindrop ChangeLog
22

3+
## Unreleased
4+
5+
**Released: WiP**
6+
7+
- Made some cosmetic changes to the raindrop input dialog.
8+
([#194](https://github.com/davep/braindrop/pull/194))
9+
310
## v0.13.0
411

512
**Released: 2025-11-03**

src/braindrop/app/screens/raindrop_input.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ class RaindropInput(ModalScreen[Raindrop | None]):
9595
display: block;
9696
}
9797
}
98+
99+
/* Have the TextAreas' text better align with other input widgets. */
100+
TextArea {
101+
padding: 0 2;
102+
}
98103
}
99104
"""
100105

@@ -168,9 +173,9 @@ def compose(self) -> ComposeResult:
168173
validators=[Length(1, failure_description="A title is required")],
169174
)
170175
yield Label("Excerpt:")
171-
yield TextArea(id="excerpt")
176+
yield TextArea(id="excerpt", highlight_cursor_line=False)
172177
yield Label("Note:")
173-
yield TextArea(id="note", language="markdown")
178+
yield TextArea(id="note", language="markdown", highlight_cursor_line=False)
174179
yield Label("URL:")
175180
yield Input(
176181
placeholder="The URL of the link for the Raindrop",

0 commit comments

Comments
 (0)