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

Fix #17482
signup-info-prompt
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 {
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;
color: lighten($ui-base-color, 34%);

View 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'