diff options
author | delvh <dev.lh@web.de> | 2023-08-28 21:43:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 19:43:59 +0000 |
commit | dca2f9371d95c2227f43ad7a0ddad579d407afd5 (patch) | |
tree | c88ae7c07713c1fd4bae36c54d446ebb33f342f9 /web_src/css/user.css | |
parent | ac2f8c9ac66a15a9e1799da3e8436928aeada53e (diff) | |
download | gitea-dca2f9371d95c2227f43ad7a0ddad579d407afd5.tar.gz gitea-dca2f9371d95c2227f43ad7a0ddad579d407afd5.zip |
Unify `border-radius` behavior (#26770)
## Changes
- no more hardcoded `border-radius`es (apart from `0`)
- no more value inconsistencies
- no more guessing what pixel value you should use
- two new variables:
- `--border-radius-medium` (for elements where the normal border radius
does not suffice)
- `--border-radius-circle` (for displaying circles)
---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/css/user.css')
-rw-r--r-- | web_src/css/user.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/user.css b/web_src/css/user.css index 2f951440b6..af8a2f5adc 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -107,7 +107,7 @@ #readme_profile { padding: 1em 2em; - border-radius: 0.28571429rem; + border-radius: var(--border-radius); background: var(--color-card); border: 1px solid var(--color-secondary); } |