]> cat aescling's git repositories - mastodon.git/commitdiff
Fix privacy policy link not being visible on small screens (#17533)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 13 Feb 2022 01:52:34 +0000 (02:52 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Feb 2022 01:52:34 +0000 (02:52 +0100)
Fix #17482

app/javascript/styles/mastodon/footer.scss
app/views/layouts/public.html.haml

index 00d2908832fbca0a8cfe18715c3ab4b6381c586c..073ebda7e451e1973f9c8e76a2e309c066776a19 100644 (file)
         .column-4 {
           display: none;
         }
+
+        .column-2 h4 {
+          display: none;
+        }
+      }
+    }
+
+    .legal-xs {
+      display: none;
+      text-align: center;
+      padding-top: 20px;
+
+      @media screen and (max-width: $no-gap-breakpoint) {
+        display: block;
       }
     }
 
       }
     }
 
-    ul a {
+    ul a,
+    .legal-xs a {
       text-decoration: none;
       color: lighten($ui-base-color, 34%);
 
index 069931cfd6547a23c41b7e1db8d2109b77d925cb..3a9ca7ed7bb4e4bfa3288d9308c086c66585215f 100644 (file)
@@ -54,5 +54,9 @@
             %ul
               %li= link_to t('about.source_code'), Mastodon::Version.source_url
               %li= link_to t('about.apps'), 'https://joinmastodon.org/apps'
+        .legal-xs
+          = link_to "v#{Mastodon::Version.to_s}", Mastodon::Version.source_url
+          ยท
+          = link_to t('about.privacy_policy'), terms_path
 
 = render template: 'layouts/application'