fix: styles

This commit is contained in:
Artemy 2023-04-03 19:45:07 +03:00
parent e7564d4058
commit e2708f1985
2 changed files with 13 additions and 13 deletions

View file

@ -56,7 +56,7 @@
@apply p-1;
@apply rounded-lg;
@apply bg-zinc-200 border-zinc-400;
@apply dark:bg-zinc-800 dark:border-zinc-600 overflow-scroll;
@apply dark:bg-zinc-800 dark:border-zinc-600 overflow-auto;
}
.md a {

View file

@ -10,9 +10,7 @@ function Settings() {
Настройки
</h1>
<h1 className="text-center lg:text-left leading-tight text-xl font-bold">
Пользователь
</h1>
<SettingsPlaceholder text="Пользователь" />
<SettingsTextInput
placeholder="Имя"
@ -32,9 +30,7 @@ function Settings() {
settingName="userStatus"
/>
<h1 className="text-center lg:text-left leading-tight text-xl font-bold">
Заметки
</h1>
<SettingsPlaceholder text="Заметки" />
<SettingsCheckBox
label="Редактирование в предпросмотре"
@ -50,9 +46,7 @@ function Settings() {
settingName="publicNote"
/>
<h1 className="text-center lg:text-left leading-tight text-xl font-bold">
Интерфейс
</h1>
<SettingsPlaceholder text="Интерфейс" />
<SettingsSelectInput
label="Язык"
@ -69,9 +63,7 @@ function Settings() {
]}
/>
<h1 className="text-center lg:text-left leading-tight text-xl font-bold">
Стороннее API
</h1>
<SettingsPlaceholder text="Стороннее API" />
<SettingsTextInput
placeholder="Ключ"
@ -83,4 +75,12 @@ function Settings() {
);
}
function SettingsPlaceholder({ text }) {
return (
<h1 className="text-center lg:text-left leading-tight text-xl font-semibold">
{text}
</h1>
);
}
export default Settings;