Skip to content

Commit 3308668

Browse files
committed
style: change introduction modal forms
1 parent cb0f7e1 commit 3308668

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

frontend/src/lib/modals/modal-create-community/forms/introduction.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
<h3 class="text-xl font-semibold text-info">Introduce your community</h3>
6262
<p class="text-sm">
6363
Give your community a name and a description that reflects its purpose and vibe.
64-
<span class="hidden md:block">This will help others discover and connect with it.</span>
6564
</p>
6665
</div>
6766
<form class="flex items-start gap-6">
@@ -107,7 +106,7 @@
107106
<span class="text-sm font-medium">Preview</span>
108107
<div class="overflow-hidden rounded-2xl bg-neutral shadow-xl">
109108
<div
110-
class="flex h-10 bg-base-content bg-cover bg-center"
109+
class="flex h-10 bg-info bg-cover bg-center"
111110
style="background-image: url({introduction_data.cover});"
112111
>
113112
<input
@@ -132,7 +131,7 @@
132131
>
133132
<Avatar
134133
src={introduction_data.avatar}
135-
class="size-14 flex-shrink-0 !bg-base-content/25"
134+
class="size-14 flex-shrink-0 !bg-base-content/15"
136135
/>
137136
<input
138137
id="community-avatar-upload"

frontend/src/lib/modals/modal-create-community/forms/topics.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<div>
1313
<div class="flex flex-col gap-2">
1414
<h3 class="text-xl font-semibold text-info">Choose topics</h3>
15-
<p class="text-sm">
16-
Select up to 3 topics that represent what your community is about. This will help people with
17-
similar interests discover it.
18-
</p>
15+
<p class="text-sm">Select up to 3 topics that represent what your community is about.</p>
1916
</div>
2017
</div>

frontend/src/lib/modals/modal-create-community/index.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<BaseModal
5353
open={modalsStore.state.get('create_community') === true}
5454
onclose={handle_modal_close}
55-
class="flex max-w-[25rem] flex-col gap-4 md:block md:max-w-[45rem]"
55+
class="flex max-w-[25rem] flex-col gap-4 md:max-w-[45rem]"
5656
>
5757
{#await form then Form}
5858
<Form.default {forms_state} {update_forms_state} {goto_form} />

0 commit comments

Comments
 (0)