summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorBenno <blueworrybear@gmail.com>2019-11-24 07:07:15 +0800
committerLauris BH <lauris@nix.lv>2019-11-24 01:07:15 +0200
commitbb2c0c3729b4bb4b1475b176dfe8e1d43f49481f (patch)
tree95256280d8faf5703acf327a233cc550f2daa552 /web_src
parente6036d9899ffbe8142eba7f5a5606a39a69ef8d2 (diff)
downloadgitea-bb2c0c3729b4bb4b1475b176dfe8e1d43f49481f.tar.gz
gitea-bb2c0c3729b4bb4b1475b176dfe8e1d43f49481f.zip
fix add comment button text align (#9140)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_review.less5
1 files changed, 3 insertions, 2 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index d838c09c2d..a5e299accc 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -1,12 +1,13 @@
.ui.button.add-code-comment {
font-size: 14px;
height: 16px;
- padding: 2px 0 0;
+ line-height: 16px !important;
+ padding: 0;
position: relative;
width: 16px;
z-index: 5;
float: left;
- margin: -2px -10px -2px -20px;
+ margin: 2px -10px 2px -20px;
opacity: 0;
transition: transform 0.1s ease-in-out;
transform: scale(1, 1);