Skip to content

Commit fb032c3

Browse files
committed
style: update SettingsDialog styles and button text
- Removed margin-bottom from the setting class in SettingsDialog.scss for improved layout consistency. - Changed button text from "Yes, Restore" to "I'm sure" in SettingsDialog.tsx for clearer user confirmation.
1 parent 474b039 commit fb032c3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/frontend/src/ui/SettingsDialog.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
}
4343

4444
&__setting {
45-
margin-bottom: 1rem;
4645
padding: 0.5rem;
4746
border-radius: 4px;
4847
background-color: var(--dialog-bg-color);

src/frontend/src/ui/SettingsDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const SettingsDialog: React.FC<SettingsDialogProps> = ({
147147
onClick={handleRestoreTutorialCanvas}
148148
disabled={isRestoring}
149149
>
150-
{isRestoring ? "Restoring..." : "Yes, Restore"}
150+
{isRestoring ? "Restoring..." : "I'm sure"}
151151
</button>
152152
<button
153153
className="settings-dialog__button settings-dialog__button--cancel"

0 commit comments

Comments
 (0)