Skip to content

Conversation

@KATIETOLER
Copy link
Contributor

Slight fix that does two things

  • makes subtitle size smaller on project nav
  • adds padding to new subtitles to align subtitle when small with nav items (while leaving original style intact)

@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Feb 10, 2026 10:19pm

Request Review

class={merge('m-1', subtitle !== 'Cloud' && 'hidden')}
/>
{#if subtitle}
{#if subtitle === 'Cloud'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why this change is needed? We can just add additional conditions (e.g. subtitle !== 'Cloud' ? 'text-2xl' : 'text-lg') to merge() if needed, no?

Copy link
Collaborator

@laurakwhit laurakwhit Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We needed additional padding on the smaller 'new nav' subtitle so that it aligns with the nav items. If this padding is on the old nav it makes the 'Cloud' word off centered.

I believe this change should have fixed the padding. Can you verify this is still happening on the latest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the font size, the padding is only needed on the 'new nav' and very much not needed on the 'old nav.'
It's all a bit messy with all these conditionals 😅.
I will switch to the tw Merge for both.

Screenshot 2026-02-10 at 4 14 01 PM Screenshot 2026-02-10 at 4 36 14 PM

Co-authored-by: Laura Whitaker <laura.whitaker@temporal.io>
@KATIETOLER KATIETOLER merged commit 50d5c96 into main Feb 11, 2026
17 checks passed
@KATIETOLER KATIETOLER deleted the subtitle-fix/kt branch February 11, 2026 19:03
temporal-cicd bot pushed a commit that referenced this pull request Feb 11, 2026
Auto-generated version bump from 2.45.2 to 2.45.3

Specific version: 2.45.3

Changes included:
- [`8fcea7ea`](8fcea7e) fix(nav): restore cloud navigation width and version positioning (#3147)
- [`9fd0b463`](9fd0b46) Refactor to use on from svelte/events  (#3126)
- [`c4cb8fa8`](c4cb8fa)   Upgrade to ESLint v9 (#3125)
- [`50d5c96c`](50d5c96) Fix subtitle size and padding on proj nav (#3148)
- [`b06ca2fc`](b06ca2f) Update activity operator command API routes  (#3151)
laurakwhit added a commit that referenced this pull request Feb 11, 2026
Auto-generated version bump from 2.45.2 to 2.45.3

Specific version: 2.45.3

Changes included:
- [`8fcea7ea`](8fcea7e) fix(nav): restore cloud navigation width and version positioning (#3147)
- [`9fd0b463`](9fd0b46) Refactor to use on from svelte/events  (#3126)
- [`c4cb8fa8`](c4cb8fa)   Upgrade to ESLint v9 (#3125)
- [`50d5c96c`](50d5c96) Fix subtitle size and padding on proj nav (#3148)
- [`b06ca2fc`](b06ca2f) Update activity operator command API routes  (#3151)

Co-authored-by: laurakwhit <15069288+laurakwhit@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants