-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify border-radius
behavior
#26770
Unify border-radius
behavior
#26770
Conversation
Changes: - no more hardcoded `border-radius`es (apart from `0`) - no more value inconsistencies - two new variables: - `--border-radius-large` (for elements where the normal border radius does not suffice) - `--circle-border` (for displaying circles)
I've tested every occurrence where I could find/reproduce the element. |
Looks good overall. I hope 8px is not too much for the large ones that were previously 6px. |
Co-authored-by: silverwind <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree to use 6px
instead of calc(2 * var(--border-radius))
and decrease `--border-radius-large` to `6px`
I wonder how we will name next step after |
Maybe follow tailwind and call it medium?
Note, tailwind assumes 16px base font size, so we have to specify pixels as ours is 14. |
Better? |
Yes, now we are free to add |
* giteaofficial/main: Add fix incorrect can_create_org_repo for org owner team (go-gitea#26683) [skip ci] Updated translations via Crowdin Improve modal dialog UI (go-gitea#26764) Improve the "bug report" template and "support options" document (go-gitea#26753) Unify `border-radius` behavior (go-gitea#26770) Reduce some allocations in type conversion (go-gitea#26772) Refactor some CSS styles and simplify code (go-gitea#26771) Add auth-required to config.json for Cargo http registry (go-gitea#26729) refactor(API): refactor secret creation and update functionality (go-gitea#26751)
What was the behavior before? |
The previous |
-> Fix notification circle (border-radius) #26794 |
Changes
border-radius
es (apart from0
)--border-radius-medium
(for elements where the normal border radius does not suffice)--border-radius-circle
(for displaying circles)