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