Skip to content

Add CSS to clock module to prevent line breaking of sunrise/sunset information #3816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

planned for 2025-10-01

Thanks to: @dathbe.

### Changed

- [clock] Add CSS to prevent line breaking of sunset/sunrise time display (#3816)

### Updated

- [core] Update dependencies including electron to v37 (#3831)
Expand Down
8 changes: 8 additions & 0 deletions modules/default/clock/clock_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,17 @@
transform-origin: 50% 100%;
}

.module.clock .digital {
display: flex;
flex-direction: column;
gap: 3px;
}

.module.clock .sun,
.module.clock .moon {
display: flex;
white-space: nowrap;
gap: 10px;
}

.module.clock .sun > *,
Expand Down
Loading