]> source.dussan.org Git - gitea.git/commitdiff
Move merge-section to `> .content` (#17582)
authorGusted <williamzijl7@hotmail.com>
Tue, 9 Nov 2021 11:56:15 +0000 (12:56 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Nov 2021 11:56:15 +0000 (19:56 +0800)
* Move `> .merge-section` to `> .content` scope

- Fixes a issue that started from
https://github.com/go-gitea/gitea/pull/17317
- Move `> .merge-section` to the `> .content` scope.
- Resolves #17480

* Move `.merge-section` back to outside scope

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
web_src/less/_repository.less

index ffec4043b5b6c756060d20dd08dd2dce9572392b..85607881dc8ede3c9c616c2b7c8b4f386315f6e6 100644 (file)
           }
         }
 
-        .merge-section {
+        .merge-section {
           background-color: var(--color-box-body);
 
           .item {
             margin-bottom: -.25rem;
           }
 
+          @media @mediaSm {
+            .item-section {
+              align-items: flex-start;
+              flex-direction: column;
+            }
+          }
+
           .divider {
             margin-left: -1rem;
             margin-right: -1rem;
               border-right-color: var(--color-box-body);
             }
           }
+        }
 
-          .markup {
-            font-size: 14px;
-          }
+        .markup {
+          font-size: 14px;
+        }
 
-          .no-content {
-            color: var(--color-text-light-2);
-            font-style: italic;
-          }
+        .no-content {
+          color: var(--color-text-light-2);
+          font-style: italic;
         }
 
         .ui.form {