| @@ -73,27 +73,30 @@ body.toggle-entity-name .entity-name { | |||||
| } | } | ||||
| #options { | #options { | ||||
| min-width: 120pt; | |||||
| flex: 1 0 15vw; | flex: 1 0 15vw; | ||||
| display: flex; | display: flex; | ||||
| justify-content: start; | justify-content: start; | ||||
| flex-direction: column; | flex-direction: column; | ||||
| background: #444; | background: #444; | ||||
| overflow-y: scroll; | |||||
| } | } | ||||
| .options-row { | .options-row { | ||||
| display: flex; | display: flex; | ||||
| text-align: center; | text-align: center; | ||||
| max-width: 15vw; | |||||
| width: 100%; | |||||
| } | } | ||||
| .options-block { | .options-block { | ||||
| display: flex; | display: flex; | ||||
| text-align: center; | text-align: center; | ||||
| max-width: 15vw; | |||||
| min-width: 100%; | |||||
| flex-direction: column; | flex-direction: column; | ||||
| } | } | ||||
| @media (max-aspect-ratio: 1/1) { | @media (max-aspect-ratio: 1/1) { | ||||
| .options-row { | .options-row { | ||||
| flex-direction: column; | flex-direction: column; | ||||
| } | } | ||||
| @@ -263,4 +266,4 @@ body.toggle-bottom-name .bottom-name { | |||||
| #menubar button { | #menubar button { | ||||
| font-size: 24pt; | font-size: 24pt; | ||||
| } | |||||
| } | |||||
| @@ -65,7 +65,7 @@ | |||||
| Auto-sizing mode | Auto-sizing mode | ||||
| </div> | </div> | ||||
| <div class="options-row"> | <div class="options-row"> | ||||
| <select class="menu-item" id="options-world-autofit-mode"> | |||||
| <select id="options-world-autofit-mode"> | |||||
| <option value="max">Max</option> | <option value="max">Max</option> | ||||
| <option value="arithmetic mean">Arithmetic mean</option> | <option value="arithmetic mean">Arithmetic mean</option> | ||||
| <option value="geometric mean">Geometric mean</option> | <option value="geometric mean">Geometric mean</option> | ||||
| @@ -723,7 +723,7 @@ document.addEventListener("DOMContentLoaded", () => { | |||||
| arrangeEntities(order); | arrangeEntities(order); | ||||
| fitWorld(); | fitWorld(); | ||||
| window.addEventListener("wheel", e => { | |||||
| document.querySelector("#world").addEventListener("wheel", e => { | |||||
| if (shiftHeld) { | if (shiftHeld) { | ||||