Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 47e6151

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: style improvement
1 parent 6a4e4e7 commit 47e6151

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/features/dashboard/components/ApiTokenForm/CreateTokenField/CustomErrors/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const CustomErrors = ({ token_name_exists, tokens_limit_reached, input_value }:
1717
if (tokens_limit_reached && input_value !== '') {
1818
return (
1919
<div className='error-message'>
20-
<p>You&apos;ve reached 30 tokens creation limit.</p>
20+
<p>You&apos;ve created the maximum number of tokens.</p>
2121
</div>
2222
);
2323
}

src/features/dashboard/components/ApiTokenForm/api-token.form.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ form {
5555
display: flex;
5656
position: relative;
5757
box-sizing: border-box;
58-
margin: rem(1) 0;
58+
margin: rem(0.5) 0;
5959
&:hover {
6060
border: 1px solid var(--colors-greyLight600);
6161
}

src/styles/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ h6 {
8888

8989
.error-message {
9090
color: var(--colors-coral500) !important;
91+
margin-left: rem(1.5);
9192
}
9293

9394
.error-border {

0 commit comments

Comments
 (0)