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:
Bohdan Triapitsyn
2026-05-19 14:33:42 +03:00
parent fd81c23414
commit 0f015a495b
3 changed files with 5 additions and 5 deletions
@@ -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>