1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

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

Fix #17482
This commit is contained in:
Eugen Rochko 2022-02-13 02:52:34 +01:00 committed by GitHub
parent 6240466866
commit bbd3474416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

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%);

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'