Skip to content

Commit 950bb7c

Browse files
Reverted Again
1 parent 15aa46f commit 950bb7c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

public/styles/main.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

399399
body.page-about,

0 commit comments

Comments
 (0)