Skip to content

Commit bf0c025

Browse files
authored
feat(loadingindicator): default min height (#3132)
* feat(loadingindicator): default min height * docs: changelog
1 parent 114b9c4 commit bf0c025

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10+
- Add `min-height: 1;` to `LoadingIndicator`'s `DEFAULT_CSS`.
11+
1012
### Added
1113

1214
- Methods `TabbedContent.disable_tab` and `TabbedContent.enable_tab` https://github.com/Textualize/textual/pull/3112

src/textual/widgets/_loading_indicator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class LoadingIndicator(Widget):
1818
LoadingIndicator {
1919
width: 100%;
2020
height: 100%;
21+
min-height: 1;
2122
content-align: center middle;
2223
color: $accent;
2324
}
@@ -30,7 +31,7 @@ def _on_mount(self, _: Mount) -> None:
3031
def render(self) -> RenderableType:
3132
elapsed = time() - self._start_time
3233
speed = 0.8
33-
dot = "\u25CF"
34+
dot = "\u25cf"
3435
_, _, background, color = self.colors
3536

3637
gradient = Gradient(

0 commit comments

Comments
 (0)