From: Joshua Rüsweg Date: Tue, 19 Jun 2018 13:31:59 +0000 (+0200) Subject: Determine size of reactionType with CSS X-Git-Tag: 5.2.0_Alpha_1~364^2~101^2~87 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e3bc3bffb3c562f10d42856f69513fd2e370521;p=GitHub%2FWoltLab%2FWCF.git Determine size of reactionType with CSS See #2508 --- diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index 0ffe45cfaf..860d18b3d0 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -159,7 +159,7 @@
diff --git a/com.woltlab.wcf/templates/reactionTypeIcon.tpl b/com.woltlab.wcf/templates/reactionTypeIcon.tpl index 4075258636..c256d3f9ba 100644 --- a/com.woltlab.wcf/templates/reactionTypeIcon.tpl +++ b/com.woltlab.wcf/templates/reactionTypeIcon.tpl @@ -1,5 +1,5 @@ diff --git a/com.woltlab.wcf/templates/reactionTypeImage.tpl b/com.woltlab.wcf/templates/reactionTypeImage.tpl index a4577bbdef..b8aa009259 100644 --- a/com.woltlab.wcf/templates/reactionTypeImage.tpl +++ b/com.woltlab.wcf/templates/reactionTypeImage.tpl @@ -1,6 +1,5 @@ diff --git a/wcfsetup/install/files/style/ui/reactions.scss b/wcfsetup/install/files/style/ui/reactions.scss index 74eabe65f5..ac8db31016 100644 --- a/wcfsetup/install/files/style/ui/reactions.scss +++ b/wcfsetup/install/files/style/ui/reactions.scss @@ -25,6 +25,18 @@ } } +img.reactionType { + width: 24px; + height: 24px; +} + +span.icon.reactionType { + font-size: 18px; + height: 24px; + line-height: 24px; + width: 24px; +} + .reactionPopoverContent { background-color: $wcfContentBackground; border-radius: 3px; @@ -45,6 +57,9 @@ > ul > li.reactionTypeButton > span.icon:hover { font-size: 22px; + height: 24px; + line-height: 24px; + width: 24px; } > ul > li.reactionTypeButton > span.icon {