This commit is contained in:
Untone 2024-10-03 12:34:17 +03:00
parent c79119d27b
commit 64e61de5ec
2 changed files with 4 additions and 9 deletions

View File

@ -5,6 +5,7 @@
justify-content: space-around; justify-content: space-around;
gap: 12px; gap: 12px;
} }
.chatTitleInput { .chatTitleInput {
width: 100%; width: 100%;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
@ -17,7 +18,7 @@
&:focus { &:focus {
border-color: #80bdff; border-color: #80bdff;
outline: 0; outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
} }
} }
} }

View File

@ -78,7 +78,7 @@ const CreateModalContent = (props: Props) => {
required={true} required={true}
class={styles.chatTitleInput} class={styles.chatTitleInput}
// TODO: Удалите эти классы, если они не нужны // TODO: Удалите эти классы, если они не нужны
// class="form-control form-control-lg fs-3" // class="form-control form-control-lg fs-3"
placeholder={t('Chat Title')} placeholder={t('Chat Title')}
/> />
)} )}
@ -92,13 +92,7 @@ const CreateModalContent = (props: Props) => {
</div> </div>
<div class={styles.footer}> <div class={styles.footer}>
<Button <Button type="button" value={t('Cancel')} variant="danger" size="L" onClick={reset} />
type="button"
value={t('Cancel')}
variant="danger"
size="L"
onClick={reset}
/>
<Button <Button
type="button" type="button"
value={usersId().length > 1 ? t('New group') : t('Create Chat')} value={usersId().length > 1 ? t('New group') : t('Create Chat')}