Skip to content

Commit e4603cd

Browse files
committed
Fix buttons not occupying full width
1 parent 2b5eac0 commit e4603cd

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
.deleteModalBtnGroup {
1+
.btnGroup {
22
display: flex;
33
gap: 8px;
44
margin-top: 8px;
55
}
6+
7+
.btnGroup button {
8+
width: 100%;
9+
}

frontend/src/presentation/components/DeleteUserForm/DeleteUserForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const DeleteUserForm: React.FC<DeleteUserFormProps> = ({ user: userToDele
4646
placeholder={`Type "${textToMatch}" to confirm`}
4747
/>
4848
)}
49-
<div className={styles.deleteModalBtnGroup}>
49+
<div className={styles.btnGroup}>
5050
<Button onClick={handleCancel}>Cancel</Button>
5151
<Button type="primary" onClick={handleDeleteUser} disabled={isConfirmBtnDisabled}>
5252
Confirm

frontend/src/presentation/components/UpdateUserPrivilegeForm/UpdateUserPrivilegeForm.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
gap: 8px;
44
margin-top: 8px;
55
}
6+
7+
.btnGroup button {
8+
width: 100%;
9+
}

0 commit comments

Comments
 (0)