diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-06-12 23:44:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 15:44:53 +0000 |
commit | d8e45608d60c4d00859f0531addf5b593b0dfd2b (patch) | |
tree | dbb8ffe63753c220f41a18cdb4c3b3c9f6b1c94d /web_src/css/base.css | |
parent | eaf551b3c19a37e550844828647960f9a2906ab6 (diff) | |
download | gitea-d8e45608d60c4d00859f0531addf5b593b0dfd2b.tar.gz gitea-d8e45608d60c4d00859f0531addf5b593b0dfd2b.zip |
Remove hacky patch for "safari emoji glitch fix" (#25208)
According to my test, the UI (emoji) is fine in Safari
And actually the code is just dead code, because the "resize" event is
never fired on page loading. So for most cases users just view the pages
without this hacky patch, nobody ever complains.
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r-- | web_src/css/base.css | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index f9b2ca99ba..38faf2287c 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -2199,19 +2199,6 @@ table th[data-sortt-desc] .svg { vertical-align: -0.075em; } -@supports (-webkit-hyphens:none) { - body:not(.safari-above125) .emoji, - body:not(.safari-above125) .reaction { - font-size: inherit; - vertical-align: inherit; - } - body:not(.safari-above125) .emoji img, - body:not(.safari-above125) .reaction img { - font-size: 1.25em; - vertical-align: -0.225em !important; - } -} - .emoji img, .reaction img { border-width: 0 !important; |