diff options
Diffstat (limited to 'html/tower/index.html')
-rw-r--r-- | html/tower/index.html | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/html/tower/index.html b/html/tower/index.html index 04c31e6..4de010c 100644 --- a/html/tower/index.html +++ b/html/tower/index.html @@ -26,7 +26,7 @@ flex-shrink: 0; } .tower-palette { - width: 100px; + width: 160px; background: white; border: 2px solid #333; padding: 10px; @@ -36,14 +36,16 @@ flex-shrink: 0; } .tower-option { - width: 60px; + width: 140px; height: 75px; cursor: grab; position: relative; display: flex; - flex-direction: column; + flex-direction: row; + gap: 10px; align-items: center; - justify-content: center; + justify-content: flex-start; + padding: 5px; } .tower-option:active { cursor: grabbing; @@ -51,12 +53,17 @@ .tower-preview { width: 25px; height: 25px; - margin-bottom: 5px; + flex-shrink: 0; + } + .tower-info { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 2px; } .tower-name { font-size: 12px; font-weight: bold; - margin-bottom: 3px; } .tower-cost { font-size: 10px; @@ -65,7 +72,6 @@ .tower-ammo { font-size: 10px; color: #666; - margin-top: 2px; } .start-button { margin-top: 20px; |