fix(focus): space the task groups, bump to 0.5.0 - #9
Merged
Conversation
The Overdue and Today groups rendered flush against each other: there was no `.group` rule at all, `.group__list` carries `margin: 0`, and `.group__heading` has no top margin, so the Today heading sat directly on the Overdue list's bottom border (measured 0px). Use an adjacent-sibling rule so only the gap BETWEEN groups is affected and no trailing margin pads the bottom of a panel. `--space-5` matches the margin `.next-card` already puts below itself, so Next, Overdue and Today share one vertical rhythm.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spacing between Overdue and Today
The two groups on the Focus surface rendered flush against each other. There was no
.grouprule inmain.cssat all —.group__listcarriesmargin: 0and.group__headinghas no top margin, so the Today heading sat directly on the Overdue list's bottom border.Measured in the browser before and after, at the same DOM:
An adjacent-sibling rule (
.group + .group) was used so only the gap between groups changes: the first group keeps a 0px top margin and the last keeps a 0px bottom margin, so no panel gains trailing padding.--space-5is the same value.next-cardalready puts below itself, so Next → Overdue → Today now share one vertical rhythm.The single-group tabs (Tomorrow, Starred, Focus) are structurally unaffected — the selector needs a preceding
.groupsibling, which those panels never have.Release
Bumps
package.jsonto 0.5.0 for the release covering everything merged since v0.4.0: capture routing (#2), design-system 2.0.1 (#3),.gitattributes(#4), CI onpull_request(#5), scheduling (#6), toast copy (#7), and the Focus surface (#8).Verified
biome check .clean across 60 files