diff --git a/e63334287a3deaa3/m/index.html b/e63334287a3deaa3/m/index.html index 9ad7afab..a1be7ec0 100644 --- a/e63334287a3deaa3/m/index.html +++ b/e63334287a3deaa3/m/index.html @@ -69,8 +69,13 @@ body{padding:calc(18px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px))} .wrap{max-width:760px;margin:0 auto} header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:0 12px;margin-bottom:18px} -/* the title takes the room left of the Main site link, and the Turkey Week switch gets a line of its own under them (no height while it is hidden) */ -header>div:first-child{flex:1 1 0;min-width:0} +/* the title takes the room left of the theme, language and Main site buttons (.hbtns), but never less than 264px, enough + for "ASCoding" on a line and the count line in at most two lines; where that room isn't there (a phone held upright) + the title gets a line of its own and the buttons go on the next line, under it on the left, wrapping if even they + don't fit on one line (their margin-top only shows then: next to the title, the title is taller). + The Turkey Week switch gets a line of its own under them (no height while it is hidden) */ +header>div:first-child{flex:1 1 0;min-width:min(100%,264px)} +header>.hbtns{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;margin-top:12px} header>.tkrow{flex:0 0 100%;order:1} header>[data-school]{flex:0 0 100%;order:2;max-width:none} h1{font-family:var(--f-d);font-weight:800;font-size:44px;line-height:.9;letter-spacing:.01em;margin:0;text-transform:uppercase} @@ -152,9 +157,12 @@

ASCoding games

-
-
- Main site + +
+
+
+ Main site +
diff --git a/e63334287a3deaa3/news/phone-header-fit.json b/e63334287a3deaa3/news/phone-header-fit.json new file mode 100644 index 00000000..41ac0587 --- /dev/null +++ b/e63334287a3deaa3/news/phone-header-fit.json @@ -0,0 +1,15 @@ +{ + "kind": "fix", + "title": "Tidier top of the phone page", + "tags": ["Phone"], + "items": [ + "On a phone held upright, the games count now sits right under the ASCoding Games title on one or two lines, instead of in a thin column with one word per line.", + "The theme, language and Main site buttons now go on their own line under the title, so nothing at the top overlaps any more, in English or Spanish." + ], + "es": { + "Tidier top of the phone page": "La parte de arriba de la página para teléfonos, más ordenada", + "Phone": "Teléfono", + "On a phone held upright, the games count now sits right under the ASCoding Games title on one or two lines, instead of in a thin column with one word per line.": "Con el teléfono en vertical, el número de juegos ahora aparece justo debajo del título ASCoding Juegos en una o dos líneas, en vez de en una columna estrecha con una palabra por línea.", + "The theme, language and Main site buttons now go on their own line under the title, so nothing at the top overlaps any more, in English or Spanish.": "Los botones de tema, idioma y Sitio principal ahora van en su propia línea debajo del título, así que ya nada se encima en la parte de arriba, en inglés o en español." + } +}