diff options
author | Earl Warren <109468362+earl-warren@users.noreply.github.com> | 2023-07-20 00:22:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 22:22:32 +0000 |
commit | e20f8f097759699375b029430174439c644881bc (patch) | |
tree | 34461588351fad21126ec360599e7d1a5ca62e37 /web_src/css/user.css | |
parent | 8833853dd6bd137c6b372f2f206275664679d919 (diff) | |
download | gitea-e20f8f097759699375b029430174439c644881bc.tar.gz gitea-e20f8f097759699375b029430174439c644881bc.zip |
Improve profile readme rendering (#25988)
- Tell the renderer to use the `document` mode, so it's consistent with
other renderers.
- Use the same padding as `.file-view.markup`, so it's consistent with
other containers that contain markup rendering.
- Resolves https://codeberg.org/forgejo/forgejo/issues/833
Co-authored-by: Gusted <postmaster@gusted.xyz>
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 54a966e7cb..9fcdb3814a 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -122,7 +122,7 @@ } #readme_profile { - padding: 10px; + padding: 1em 2em; border-radius: 0.28571429rem; background: var(--color-card); border: 1px solid var(--color-secondary); |