← 输入框|github.com|刷新
Skip to content

web: enlarge team icons in the logo link, breadcrumbs and dropdowns - #15

Merged
yekta merged 1 commit into
masterfrom
style/larger-team-logo-button
Oct 17, 2026
Merged

yekta merged 1 commit into
masterfrom
style/larger-team-logo-button

Conversation

@yekta

@yekta yekta commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Makes the team icons a little bigger without making the buttons or rows any taller, and without moving anything around the icons.

  • Logo link: the team icon and its loading skeleton go from size-6 to size-6.5. The fallback Logo stays at size-6.
  • Breadcrumb trigger: the icon goes from size-4.5 to size-5. A new -my-px keeps the trigger the same height.
  • Breadcrumb items: SheetItem and DropdownItem take a new optional classNameIcon prop, which is merged into the icon's classes with cn. The breadcrumb passes size-5.5 to sheet items (mobile) and size-5 to dropdown items (desktop). The existing -my-1 keeps the rows the same height.

The left offsets (-ml-1 / -ml-0.5) and the gaps between icon and text are unchanged, so the space to the left of each icon and between the icon and its label stays the same.

The icons get slightly bigger without making the buttons or rows any taller. Negative vertical margins absorb the extra size, and the existing left offsets and gaps stay the same, so the spacing around the icons doesn't shift.
@yekta
yekta merged commit 9497bef into master Oct 17, 2026
8 checks passed
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.

1 participant