mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
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:
commit
60b7b71324
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue