diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-02-16 11:33:09 -0600 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-02-16 19:33:09 +0200 |
commit | 0b72c00fadcacda920893c991cd858a3d6dd52c7 (patch) | |
tree | b198df05a5d275733f2ff2d6c9d2154c0ac0271d /public/less/_emojify.less | |
parent | 8c8ac1a16260c075e854bd370812284e0121613e (diff) | |
download | gitea-0b72c00fadcacda920893c991cd858a3d6dd52c7.tar.gz gitea-0b72c00fadcacda920893c991cd858a3d6dd52c7.zip |
Allow labels to contain emoji (#6063)
* Add emoji to labels
Minor cleanup of tribute code in footer.tmpl
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Quick find/replace in other i18n files containing label translations
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert "Quick find/replace in other i18n files containing label translations"
This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d.
* Add style to overwrite emoji height in labels
* Revert Makefile change that makes Windows work
Diffstat (limited to 'public/less/_emojify.less')
-rw-r--r-- | public/less/_emojify.less | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/public/less/_emojify.less b/public/less/_emojify.less index 29029a20b0..4cd9da3f21 100644 --- a/public/less/_emojify.less +++ b/public/less/_emojify.less @@ -1,6 +1,10 @@ -.emoji { - width: 1.5em; - height: 1.5em; - display: inline-block; - background-size: contain; -} +.emoji {
+ width: 1.5em;
+ height: 1.5em;
+ display: inline-block;
+ background-size: contain;
+}
+
+.ui.label .emoji {
+ height: 1.2em !important;
+}
|