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

Fix #17482
lolsob-rspec
Eugen Rochko 2022-02-13 02:52:34 +01:00 committed by GitHub
parent 518ac93f00
commit 77529aba86
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'