File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ templ Menu(menu_kind MenuKind, data *export_map.Export) {
246246 @ MultiLineOption ([]string {" To Stats" })
247247 </div >
248248 <a href ={ templ.SafeURL (types.GetCtx (ctx).SiteRoot ) }>
249- <img style =" max-height:50px ;" src ={ types.GetCtx (ctx).StaticRoot + " stat_favicon.ico" }/>
249+ <img style =" max-height:min(6vh,6vw) ;" src ={ types.GetCtx (ctx).StaticRoot + " stat_favicon.ico" }/>
250250 </a >
251251 </div >
252252 }
@@ -364,7 +364,7 @@ templ Menu(menu_kind MenuKind, data *export_map.Export) {
364364 hx-swap =" outerHTML"
365365 style =" cursor:pointer"
366366 >
367- <img style =" max-height:6vh;" src ={ types.GetCtx (ctx).StaticRoot + " map_legend.png" }/>
367+ <img style =" max-height:min( 6vh,6vw) ;" src ={ types.GetCtx (ctx).StaticRoot + " map_legend.png" }/>
368368 </div >
369369 </div >
370370 <div class =" menu-item" >
@@ -373,10 +373,10 @@ templ Menu(menu_kind MenuKind, data *export_map.Export) {
373373 </div >
374374 <div >
375375 if menu_kind == MenuKindGalaxy {
376- <img style =" max-height:50px ;" src ={ types.GetCtx (ctx).StaticRoot + " galaxy_disabled.png" }/>
376+ <img style =" max-height:min(6vh,6vw) ;" src ={ types.GetCtx (ctx).StaticRoot + " galaxy_disabled.png" }/>
377377 } else {
378378 <a href ={ templ.SafeURL (types.GetCtx (ctx).SiteRoot + map_urls.Index .ToString ()) }>
379- <img style =" max-height:6vh;" src ={ types.GetCtx (ctx).StaticRoot + " galaxy_enabled.png" }/>
379+ <img style =" max-height:min( 6vh,6vw) ;" src ={ types.GetCtx (ctx).StaticRoot + " galaxy_enabled.png" }/>
380380 </a >
381381 }
382382 </div >
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ system-label-wrap.unhidden_infocard_label {
118118 --inactive-color : # 98989c ;
119119 position : relative;
120120 aspect-ratio : 292 / 142 ;
121- height : 2.5vh ;
121+ height : min ( 2.5vh , 3 vw ) ;
122122}
123123
124124.toggle-input {
You can’t perform that action at this time.
0 commit comments