Disable buttons that can't be used yet

Also make construction message hidable.
related to #360
This commit is contained in:
Kurt Hutten
2021-06-12 19:49:36 +10:00
parent 6b4ff7aa61
commit cd94f11374
5 changed files with 35 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ const PanelToolbar = ({ panelName }: { panelName : string }) => {
<Svg name='drag-grid' className="w-4 p-px" />
</div>
)}
<button className="bg-gray-500 text-gray-300 px-3 rounded-br-lg h-full" aria-label={`${panelName} settings`}>
<button className="bg-gray-500 text-gray-300 px-3 rounded-br-lg h-full cursor-not-allowed" aria-label={`${panelName} settings`} disabled>
<Svg name='gear' className="w-7 p-px" />
</button>
</div>