Skip to content

Commit 27ad50c

Browse files
committed
Additional, minor rendering improvements on mobile devices
1 parent b7763c7 commit 27ad50c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

frontend/liquid/_layouts/boardGames.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
// 11em large
171171
function construct3dBox(boardGame) {
172172
const largeDimension = 11; // 11em
173-
const mediumDimension = 21; // 21vw
173+
const mediumDimension = 19; // 19vw
174174
const smallDimension = 29; // 29vw
175175
const tinyDimension = 41; // 41vw
176176
boardGame.dimensionTiers = {

frontend/static/css/core.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ button,
11881188
menu.with-search-bar {
11891189
height: auto;
11901190

1191-
padding-left: 1em;
1191+
padding-left: max(1em, env(safe-area-inset-left));
11921192
padding-right: max(1em, env(safe-area-inset-right));
11931193
padding-top: 0.75em;
11941194
padding-bottom: 0.75em;
@@ -1281,7 +1281,7 @@ button,
12811281
.record,
12821282
.board-game,
12831283
.book {
1284-
width: 21vw;
1284+
width: 19vw;
12851285
}
12861286
.record a .wrapper,
12871287
.record a:active .wrapper,
@@ -1298,8 +1298,8 @@ button,
12981298
.record .art,
12991299
.board-game .art,
13001300
.book .art {
1301-
max-height: 21vw;
1302-
max-width: 21vw;
1301+
max-height: 19vw;
1302+
max-width: 19vw;
13031303
}
13041304

13051305
#footer {

0 commit comments

Comments
 (0)