]> source.dussan.org Git - gitea.git/commitdiff
Update _repository.less (#13672)
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Mon, 23 Nov 2020 09:42:24 +0000 (10:42 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 09:42:24 +0000 (11:42 +0200)
Co-authored-by: Lauris BH <lauris@nix.lv>
web_src/less/_repository.less

index 8b131e50bfd68fcdb9ddd71c36c89bf40d567329..dc0c718c1a9b9c4cacf437c45daa78f666418689 100644 (file)
           border-radius: 50%;
           display: flex;
           float: left;
-          margin-left: -34px;
+          margin-left: -33px;
           margin-right: 8px;
           color: #666;
           align-items: center;
           padding-top: 0;
 
           .singular-commit {
-            line-height: 30px;
-
-            &:not(:last-child) {
-              padding-bottom: 2px;
-            }
+            line-height: 34px; /* this must be same as .badge height, to avoid overflow */
 
             .shabox {
               .sha.label {