fix: constrain oversized loading spinners (#1326)
Prevents loading icons from rendering too large Adds explicit sizing to file and diff loading states
This commit is contained in:
@@ -941,7 +941,7 @@ export const SidebarFilesTree: React.FC = () => {
|
||||
onClick={() => void handleDialogSubmit()}
|
||||
disabled={isDialogSubmitting || (activeDialog !== 'delete' && !dialogInputValue.trim())}
|
||||
>
|
||||
{isDialogSubmitting ? <Icon name="loader-4" className="animate-spin" /> : (
|
||||
{isDialogSubmitting ? <Icon name="loader-4" className="size-4 animate-spin" /> : (
|
||||
activeDialog === 'delete' ? t('sidebarFilesTree.dialog.delete.confirm') : t('sidebarFilesTree.dialog.confirm')
|
||||
)}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user