Skip to content

Commit 3964fa0

Browse files
authored
Merge pull request #100 from beNative/codex/reduce-button-paddings-to-0.2rem
Adjust repo form action button padding
2 parents 9d4346f + c7d4bfb commit 3964fa0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/modals/RepoFormModal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3537,18 +3537,18 @@ const RepoEditView: React.FC<RepoEditViewProps> = ({ onSave, onCancel, repositor
35373537
</button>
35383538
)}
35393539
<div className="flex gap-3">
3540-
<button
3541-
type="button"
3542-
onClick={onCancel}
3543-
className="px-4 py-2 bg-gray-500 text-white rounded-md hover:bg-gray-600 dark:bg-gray-600 dark:hover:bg-gray-700 transition-colors"
3540+
<button
3541+
type="button"
3542+
onClick={onCancel}
3543+
className="px-4 py-[0.2rem] bg-gray-500 text-white rounded-md hover:bg-gray-600 dark:bg-gray-600 dark:hover:bg-gray-700 transition-colors"
35443544
data-automation-id="repo-form-cancel"
35453545
>
35463546
{repository ? 'Close' : 'Cancel'}
35473547
</button>
35483548
<button
35493549
type="button"
35503550
onClick={handleSave}
3551-
className="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors"
3551+
className="px-4 py-[0.2rem] bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors"
35523552
data-automation-id="repo-form-save"
35533553
>
35543554
Save Repository

0 commit comments

Comments
 (0)