diff --git a/web_src/less/_base.less b/web_src/less/_base.less index ee0260167..05c2a9b63 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1224,35 +1224,20 @@ table th[data-sortt-desc] { .emoji, .reaction { - font-size: 1.5em; - line-height: 1.2; + font-size: 1.25em; + line-height: 1; font-style: normal !important; font-weight: normal !important; - vertical-align: middle; -} - -#issue-title > .emoji { - font-size: 1em; -} - -.commit-summary > .emoji { - font-size: 1em; -} - -.label > .emoji { - font-size: 1em; + vertical-align: -.075em; } -.dropdown .emoji { - font-size: 1em; -} .emoji img, .reaction img { border-width: 0 !important; margin: 0 !important; width: 1em !important; height: 1em !important; - vertical-align: middle !important; + vertical-align: -.15em; } /* https://github.com/go-gitea/gitea/pull/11486 */ diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 2277b794c..e539f7475 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2387,7 +2387,7 @@ .select-reaction { display: flex; align-items: center; - padding: .5rem; + padding: 0 .5rem; &:not(.active) a { display: none;