Slight improvement to the building panel.

This commit is contained in:
Adrian 2024-11-05 11:59:06 +01:00
parent ef43be402f
commit e14cb045f7

View File

@ -27,7 +27,7 @@
<section>
<div class="building-panel">
<header>
<h1>Building</h1>
<h1>{ building.name } ({ building.level })</h1>
<span class="close">
<button on:click={ close }>X</button>
</span>
@ -41,7 +41,6 @@
</div>
<div class="upgrade">
<div>
<p>{ building.name } ({ building.level })</p>
<button on:click={ () => upgrade() }>Upgrade</button>
</div>
</div>