consistent sizing on activity indicator in save buttons

This commit is contained in:
Josh Hawkins 2026-03-12 14:30:35 -05:00
parent db192823ce
commit 0184729f09
13 changed files with 13 additions and 13 deletions

View File

@ -990,7 +990,7 @@ export function CameraGroupEdit({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -231,7 +231,7 @@ export default function CreateRoleDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -454,7 +454,7 @@ export default function CreateTriggerDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator className="size-5" /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -432,7 +432,7 @@ export default function CreateUserDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -177,7 +177,7 @@ export default function EditRoleCamerasDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -471,7 +471,7 @@ export default function SetPasswordDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -192,7 +192,7 @@ export function AnnotationSettingsPane({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -391,7 +391,7 @@ export function CameraStreamingDialog({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -440,7 +440,7 @@ export default function MotionMaskEditPane({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -461,7 +461,7 @@ export default function ObjectMaskEditPane({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -936,7 +936,7 @@ export default function ZoneEditPane({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -603,7 +603,7 @@ export default function EnrichmentsSettingsView({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (

View File

@ -299,7 +299,7 @@ export default function MotionTunerView({
> >
{isLoading ? ( {isLoading ? (
<div className="flex flex-row items-center gap-2"> <div className="flex flex-row items-center gap-2">
<ActivityIndicator /> <ActivityIndicator className="size-4" />
<span>{t("button.saving", { ns: "common" })}</span> <span>{t("button.saving", { ns: "common" })}</span>
</div> </div>
) : ( ) : (