fix: Add flex-shrink utility to buttons and profile elements for better layout consistency

This commit is contained in:
beilunyang
2024-12-18 02:45:54 +08:00
parent 5d7a6d7bad
commit ba14701210
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ export function WebhookConfig() {
type="url"
required
/>
<Button type="submit" disabled={loading} className="w-20">
<Button type="submit" disabled={loading} className="flex-shrink-0">
{loading ? (
<Loader2 className="w-4 h-4 animate-spin" />
) : (