Browse Source

Fix privacy policy link not being visible on small screens (#17533)

Fix #17482
closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
bbd3474416
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions
  1. +16
    -1
      app/javascript/styles/mastodon/footer.scss
  2. +4
    -0
      app/views/layouts/public.html.haml

+ 16
- 1
app/javascript/styles/mastodon/footer.scss View File

@ -90,6 +90,20 @@
.column-4 { .column-4 {
display: none; 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;
} }
} }
@ -105,7 +119,8 @@
} }
} }
ul a {
ul a,
.legal-xs a {
text-decoration: none; text-decoration: none;
color: lighten($ui-base-color, 34%); color: lighten($ui-base-color, 34%);

+ 4
- 0
app/views/layouts/public.html.haml View File

@ -54,5 +54,9 @@
%ul %ul
%li= link_to t('about.source_code'), Mastodon::Version.source_url %li= link_to t('about.source_code'), Mastodon::Version.source_url
%li= link_to t('about.apps'), 'https://joinmastodon.org/apps' %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' = render template: 'layouts/application'

Loading…
Cancel
Save