File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,6 +377,11 @@ input::placeholder {
377377 cursor : pointer;
378378 z-index : 1000 ;
379379 opacity : 0.3 ;
380+ width : var (--minimap-width );
381+ max-width : calc (
382+ 100vw - var (--logo-cell-size ) * 2.4 - var (--nav-button-cell-size ) * 6
383+ );
384+ /* max-height: calc(var(--nav-button-cell-size) * 5); */
380385 display : flex;
381386
382387 transition : opacity 0.3s ease-in-out;
@@ -387,13 +392,8 @@ input::placeholder {
387392}
388393
389394# minimap canvas {
390- width : var (--minimap-width );
391- height : var (--minimap-height );
392- max-width : calc (
393- 100vw - var (--logo-cell-size ) * 2.4 - var (--nav-button-cell-size ) * 6
394- );
395- max-height : calc (var (--nav-button-cell-size ) * 5 );
396- aspect-ratio : calc (var (--minimap-width ) / var (--minimap-height ));
395+ width : 100% ;
396+ object-fit : contain;
397397}
398398
399399body .page-about ,
You can’t perform that action at this time.
0 commit comments