Disable buttons that can't be used yet
Also make construction message hidable. related to #360
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user