diff options
Diffstat (limited to 'js/pixel-art/pixel/index.html')
-rw-r--r-- | js/pixel-art/pixel/index.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/js/pixel-art/pixel/index.html b/js/pixel-art/pixel/index.html index 74c0216..eea03b1 100644 --- a/js/pixel-art/pixel/index.html +++ b/js/pixel-art/pixel/index.html @@ -26,9 +26,9 @@ top: 0.625rem; right: 0.625rem; background-color: beige; - padding: 0.625rem; + padding: 0.5rem; border: 1px solid #ccc; - border-radius: 0.3125rem; + border-radius: 0.25rem; width: 10.625rem; transition: transform 0.3s ease-out; max-height: 90vh; @@ -44,11 +44,11 @@ #palette-toggle { position: fixed; - top: 0.625rem; - right: 0.625rem; + top: 1.025rem; + right: 0.025rem; background-color: beige; border: 1px solid #ccc; - border-radius: 0.3125rem 0 0 0.3125rem; + border-radius: 0.25rem 0 0 0.25rem; padding: 0.75rem; cursor: pointer; z-index: 1000; @@ -138,6 +138,7 @@ #palette-toggle { top: auto; + right: 0.625rem; bottom: 0.625rem; } @@ -154,11 +155,11 @@ <div style="display: flex; gap: 5px; margin-bottom: 10px;"> <div style="flex: 1;"> <label for="gridWidth">W:</label> - <input type="number" id="gridWidth" value="16" min="1" style="width: 90%;"> + <input type="number" id="gridWidth" value="16" min="1" max="100" style="width: 90%;"> </div> <div style="flex: 1;"> <label for="gridHeight">H:</label> - <input type="number" id="gridHeight" value="16" min="1" style="width: 90%;"> + <input type="number" id="gridHeight" value="16" min="1" max="100" style="width: 90%;"> </div> </div> <br> |