aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-03 04:40:08 +0200
committerGitHub <noreply@github.com>2020-06-02 22:40:08 -0400
commit8e035f81c01ba6c1ccf8952ffad37bef063aad2d (patch)
tree6fc49b10b9a4bf2fbaebff30b7510540dbb2f965 /web_src/less
parentdcefcc10e6365f5ee23ba36b09038eab33bf103e (diff)
downloadgitea-8e035f81c01ba6c1ccf8952ffad37bef063aad2d.tar.gz
gitea-8e035f81c01ba6c1ccf8952ffad37bef063aad2d.zip
Fix styling for commiter on diff view (#11715)
* Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <me@silverwind.io> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <me@silverwind.io> * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_repository.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index b387d16079..96e381c163 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2376,6 +2376,24 @@
}
}
}
+
+ &.diff .committed-by {
+ padding-top: .5rem;
+
+ .ui.avatar {
+ width: 20px;
+ height: 20px;
+ }
+
+ span {
+ margin-right: .25rem;
+
+ svg {
+ vertical-align: text-bottom;
+ margin-right: 2px;
+ }
+ }
+ }
}
// End of .repository