summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2020-02-16 21:44:52 +0100
committerGitHub <noreply@github.com>2020-02-16 22:44:52 +0200
commitcdda5c4b90d519a47632bf77aced11995ffe20f0 (patch)
treee5d58653889f08f1005ca0ccc037766586e39021 /web_src
parent9bada628f202e16900f1be8ad73c9bceefb4f5e4 (diff)
downloadgitea-cdda5c4b90d519a47632bf77aced11995ffe20f0.tar.gz
gitea-cdda5c4b90d519a47632bf77aced11995ffe20f0.zip
ui: better mobile review-box sizing (#10297)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_review.less11
1 files changed, 11 insertions, 0 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index a5e299accc..91527903cb 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -132,3 +132,14 @@
.ui.blob-excerpt:hover {
color: #428bca;
}
+
+@media only screen and (max-width: 768px) {
+ #review-box > .menu {
+ > .ui.segment {
+ width: 94vw;
+ }
+ .editor-toolbar {
+ overflow-x: auto;
+ }
+ }
+}