From ee4e8542c7dddafe8ed110f6ec0bb9f730a63b0a Mon Sep 17 00:00:00 2001
From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Date: Wed, 20 May 2020 19:12:08 +0200
Subject: [PATCH] Fix margin for branch-update grid on PR view when update
 button is not present (#11521)

* Fix margin for branch-update grid on PR view when update button is not present

* Move padding to row element

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
---
 web_src/less/_repository.less | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index aedf6c0eaacf..0ffe6cbf6e89 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -648,13 +648,10 @@
                 }
                 .branch-update.grid {
                     .row {
-                        padding-bottom: 0;
+                        padding-bottom: 1rem;
                         .icon {
                             margin-top: 1.1rem;
                         }
-                        .ui.button {
-                            margin-bottom: 1rem;
-                        }
                     }
                 }
             }