1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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>
This commit is contained in:
Earl Warren
2023-07-20 00:22:32 +02:00
committed by GitHub
parent 8833853dd6
commit e20f8f0977
2 changed files with 6 additions and 2 deletions

View File

@@ -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);