Skip to content

Incorrect font size for PR/issue comment #17480

Closed
@proton-ab

Description

@proton-ab

Gitea Version

f46e67b

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker image gitea/gitea:dev-rootless

Database

No response

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

Font size for PR/issue comment is incorrect. It is using 16px inherited from .markdown class when it should be using its own overridden 14px. The issue occurred between 58cd55d (known good) and 2b2eb5d (known bad) but since half the commits have broken CI run I can't really test them properly without setting up full development environment.

See this try page for example: https://try.gitea.io/ChristopherHX/actions-on-gitea/pulls/2

On v1.15.6 this is handled by (generated code):

.repository.view.issue .comment-list .comment .content .markup {
    font-size: 14px
}

On broken version we can see this instead:

.repository.view.issue .comment-list .comment>.merge-section .markup {
    font-size: 14px
}

Screenshots

Bad (current):
firefox_2021-10-29_02-44-35

Good (simulated):
firefox_2021-10-29_02-44-57

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions