Merge pull request #466 from yueyuzhao/issue/464-padding-bottom-for-languages

Fix bottom padding of the languages selection page
This commit is contained in:
chrisgarrity 2021-07-19 09:49:58 -04:00 committed by GitHub
commit 60b7b71324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,6 +291,7 @@ div.languagebuttons {
margin: auto;
margin-top: ${css_vh(4)};
width: 90%;
display: inline-block;
}
div.localizationselect {
@ -305,8 +306,8 @@ div.localizationselect {
/* fontsize based on device vertical height doesn't work on 16:9 aspect Android device, just set fixed size font */
font-size: 34.5px;
text-align: center;
margin-left: ${css_vw(3)};
margin-bottom: ${css_vw(2)};
/* 1.68 = (87.89 * 0.9 / 3 - 23) / 2 */
margin: 0 ${css_vw(1.68)} ${css_vw(2)};
padding-top: 2%;
background-image: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 51%);
}
@ -465,6 +466,7 @@ div.localizationselect.selected:after {
margin: ${css_vh(2.6)} auto;
width: ${css_vw(87.89)};
height: auto;
text-align: center;
}