Skip to content

Fix button styles in "Repository refresh" beta - #3221

Merged
fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:repo-refresh-button-style
Jun 16, 2020
Merged

fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:repo-refresh-button-style

Conversation

@FloEdelmann

Copy link
Copy Markdown
Member

Design fix for #3081 (comment) / #3205 (comment).

Before

After

Screenshot_2020-06-12_14-23-11
Screenshot_2020-06-12_14-22-42

Note that I didn't change the button size for latest-tag-button and list-prs-for-file; I just centered them, as that looks better IMO.

See how it looks with changed button sizes instead:

Screenshot_2020-06-12_14-15-01
Screenshot_2020-06-12_14-15-34

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah I think those look good when small, like a “secondary navigation”


const link = (
<a className="btn btn-sm btn-outline ml-2" href={String(url)}>
<a className="btn btn-sm btn-outline ml-2 flex-self-center" href={String(url)}>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome 🙌

@fregante
fregante merged commit af1ca4d into refined-github:master Jun 16, 2020
@FloEdelmann
FloEdelmann deleted the repo-refresh-button-style branch June 17, 2020 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants