Skip to content

Commit

Permalink
Set max-width for error message, change buttons order
Browse files Browse the repository at this point in the history
  • Loading branch information
YanZhylavy committed Dec 16, 2024
1 parent 9879fcc commit fbdddb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ const AutoApproveDelay = () => {
{error &&
<p className={css['error-message']}>{error}</p>}
<div className={css['buttons-group']}>
<button className={`${css['button']} ${css['cancel-button']}`} onClick={handleCancel}>Скасувати</button>
<button className={css['button']} onClick={handleSubmit}>Змінити</button>
<button className={`${css['button']} ${css['cancel-button']}`} onClick={handleCancel}>Скасувати</button>
</div>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@
color: rgb(212, 21, 21);
font-family: var(--font-main);
font-size: 14px;
max-width: 267px;
}

0 comments on commit fbdddb8

Please sign in to comment.