summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorkolaente <k@knt.li>2020-10-06 01:31:25 +0200
committerGitHub <noreply@github.com>2020-10-05 19:31:25 -0400
commitb5e76dddb8051b6e11b0df7f73b7f883365385cf (patch)
tree52719cc94db745fde4b0941ca9aae731ca3d0b18 /web_src/less
parent91118bc73dcfac3a918956565aa756a831fc36e1 (diff)
downloadgitea-b5e76dddb8051b6e11b0df7f73b7f883365385cf.tar.gz
gitea-b5e76dddb8051b6e11b0df7f73b7f883365385cf.zip
Fix Pull Request merge buttons on mobile (#13035)
Signed-off-by: kolaente <k@knt.li> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_repository.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 0360ff7bde..a6e3be68e7 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1053,6 +1053,16 @@
&.no-header {
#avatar-arrow;
}
+
+ @media only screen and (max-width: 767px) {
+ .form .button {
+ width: 100%;
+
+ &:not(:last-child) {
+ margin-bottom: 1rem;
+ }
+ }
+ }
}
.markdown {