mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 10:05:59 -05:00
1. fix padding bottom 2. center the buttons
This commit is contained in:
parent
a7d7cb1763
commit
2a9201d1c9
1 changed files with 4 additions and 2 deletions
|
@ -291,6 +291,7 @@ div.languagebuttons {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: ${css_vh(4)};
|
margin-top: ${css_vh(4)};
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.localizationselect {
|
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 */
|
/* fontsize based on device vertical height doesn't work on 16:9 aspect Android device, just set fixed size font */
|
||||||
font-size: 34.5px;
|
font-size: 34.5px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-left: ${css_vw(3)};
|
/* 1.68 = (87.89 * 0.9 / 3 - 23) / 2 */
|
||||||
margin-bottom: ${css_vw(2)};
|
margin: 0 ${css_vw(1.68)} ${css_vw(2)};
|
||||||
padding-top: 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%);
|
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;
|
margin: ${css_vh(2.6)} auto;
|
||||||
width: ${css_vw(87.89)};
|
width: ${css_vw(87.89)};
|
||||||
height: auto;
|
height: auto;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue