]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Change actions in reports to require only one click
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 11 Feb 2022 20:51:57 +0000 (21:51 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Fri, 11 Feb 2022 20:56:27 +0000 (21:56 +0100)
Port SCSS changes from d0fcf07436d158bcac2617d076a83d0aa49c39e6

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/admin.scss

index 92061585a54e5c7091df70e0fc837fec5f5a4c73..d28470747da25ceb7340869bdf16a2620a0e569a 100644 (file)
@@ -1410,8 +1410,9 @@ a.sparkline {
     }
 
     &__button {
+      box-sizing: border-box;
       flex: 0 0 auto;
-      width: 100px;
+      width: 200px;
       padding: 15px;
       padding-right: 0;
 
@@ -1427,4 +1428,38 @@ a.sparkline {
       color: $dark-text-color;
     }
   }
+
+  @media screen and (max-width: 800px) {
+    border: 0;
+
+    &__item {
+      flex-direction: column;
+      border: 0;
+
+      &__button {
+        width: 100%;
+        padding: 15px 0;
+      }
+
+      &__description {
+        padding: 0;
+        padding-bottom: 15px;
+      }
+    }
+  }
+}
+
+.section-skip-link {
+  float: right;
+
+  a {
+    color: $ui-highlight-color;
+    text-decoration: none;
+
+    &:hover,
+    &:focus,
+    &:active {
+      text-decoration: underline;
+    }
+  }
 }