Repository navigation
feat: align inputs and compact layout in Time Entries dialog (#2742) - #2749
Merged
Merged
Conversation
…dialog-layout # Conflicts: # docs/releases/unreleased.md
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.
Closes #2742.
Summary
.time-entry-editor-modal__time-containersetting rows so.setting-item-infousesflex: 1 1 0; min-width: 0; margin: 0and non-description.setting-item-controlcolumns use a fixed228pxright-aligned track (flex: 0 0 228px). Both Start and End inputs now share the exact same left edge (272pxfrom row left) and width (228px) regardless of label length, including longer translated labels..setting-itemvertical padding (padding-block: 8pxfromkit.css/time-entry-editor-modal.css) withpadding: 0; min-height: 0and a uniform6px(var(--size-2-3)) flex gap on.time-entry-editor-modal__time-container.8px 12px), inter-card margin (8px,0on last child), header spacing (4px), desktop delete button size (var(--tn-control-sm)/24px), and description box minimum height (56px, still resizable up to200px).@media (max-width: 600px)rules so narrow/mobile viewports stack labels above full-width aligned inputs and preservevar(--tn-touch-target)(40px) touch targets on the delete button..time-entry-editor-modal__description-editor .cm-contentuntouched so it merges cleanly alongside Restore left padding in the time entry description editor #2738.docs/releases/unreleased.md.Before / After (Obsidian default theme, verified in desk)
Validation
deskwith Obsidian default light theme, default dark theme, long Spanish label, and mobile layout (--mobile).npm run buildnpm run lint(lint:ts,lint:review-types,lint:css,lint:architecture)npm run lint:css:distnpm run check:bundle-sizenode --test tests/scripts/stylelint-design-tokens.test.mjs