Skip to content

Commit 6520c7c

Browse files
committed
feat: smaller user images and icons
1 parent 92219bc commit 6520c7c

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

public/js/interactive_maps.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5399,27 +5399,27 @@ var $author$project$Main$calcMapSettings = F2(
53995399
switch (_class) {
54005400
case 0:
54015401
if (!orientation) {
5402-
return A4($author$project$Clustermap$MapSettings, height, width, 50, 16);
5402+
return A4($author$project$Clustermap$MapSettings, height, width, 40, 12);
54035403
} else {
5404-
return A4($author$project$Clustermap$MapSettings, height, width, 32, 12);
5404+
return A4($author$project$Clustermap$MapSettings, height, width, 26, 8);
54055405
}
54065406
case 1:
54075407
if (!orientation) {
5408-
return A4($author$project$Clustermap$MapSettings, height, width, 50, 16);
5408+
return A4($author$project$Clustermap$MapSettings, height, width, 45, 12);
54095409
} else {
5410-
return A4($author$project$Clustermap$MapSettings, height, width, 50, 16);
5410+
return A4($author$project$Clustermap$MapSettings, height, width, 45, 12);
54115411
}
54125412
case 2:
54135413
if (!orientation) {
5414-
return A4($author$project$Clustermap$MapSettings, height, width, 55, 18);
5414+
return A4($author$project$Clustermap$MapSettings, height, width, 45, 15);
54155415
} else {
5416-
return A4($author$project$Clustermap$MapSettings, height, width, 55, 18);
5416+
return A4($author$project$Clustermap$MapSettings, height, width, 45, 15);
54175417
}
54185418
default:
54195419
if (!orientation) {
5420-
return A4($author$project$Clustermap$MapSettings, height, width, 70, 24);
5420+
return A4($author$project$Clustermap$MapSettings, height, width, 60, 20);
54215421
} else {
5422-
return A4($author$project$Clustermap$MapSettings, height, width, 70, 24);
5422+
return A4($author$project$Clustermap$MapSettings, height, width, 60, 20);
54235423
}
54245424
}
54255425
});

src/elm/clustermap/Main.elm

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,34 +145,34 @@ calcMapSettings window { class, orientation } =
145145
Phone ->
146146
case orientation of
147147
Portrait ->
148-
Clustermap.MapSettings height width 50 16
148+
Clustermap.MapSettings height width 40 12
149149

150150
Landscape ->
151-
Clustermap.MapSettings height width 32 12
151+
Clustermap.MapSettings height width 26 8
152152

153153
Tablet ->
154154
case orientation of
155155
Portrait ->
156-
Clustermap.MapSettings height width 50 16
156+
Clustermap.MapSettings height width 45 12
157157

158158
Landscape ->
159-
Clustermap.MapSettings height width 50 16
159+
Clustermap.MapSettings height width 45 12
160160

161161
Desktop ->
162162
case orientation of
163163
Portrait ->
164-
Clustermap.MapSettings height width 55 18
164+
Clustermap.MapSettings height width 45 15
165165

166166
Landscape ->
167-
Clustermap.MapSettings height width 55 18
167+
Clustermap.MapSettings height width 45 15
168168

169169
BigDesktop ->
170170
case orientation of
171171
Portrait ->
172-
Clustermap.MapSettings height width 70 24
172+
Clustermap.MapSettings height width 60 20
173173

174174
Landscape ->
175-
Clustermap.MapSettings height width 70 24
175+
Clustermap.MapSettings height width 60 20
176176

177177

178178
update : Msg -> Model -> ( Model, Cmd Msg )

0 commit comments

Comments
 (0)