Skip to content

Commit 6d88169

Browse files
committed
fix: styling to demoTasks
1 parent 54a7c15 commit 6d88169

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

src/builtins/demoTasks/FavoriteColor.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ function finish() {
4141
<!-- Task content area -->
4242
<div class="w-[80%] h-[80%]">
4343
<!-- Task title -->
44-
<h1 class="text-2xl font-bold mb-4">Task 1</h1>
44+
<h1 class="text-2xl font-bold mb-4">Task 1: What is your favorite color?</h1>
4545

4646
<!-- Form input section -->
47-
<div class="w-1/4 mx-auto mb-10 pb-52 text-left">
47+
<div class="w-1/2 mx-auto mb-10 pb-52 text-left">
4848
<!-- Trial count input form -->
4949
<div class="space-y-2">
5050
<label for="faveColor" class="text-sm font-medium">Favorite color</label>
51-
<Input id="faveColor" v-model="faveColor" placeholder="Enter favorite color" type="string" />
51+
<Input
52+
id="faveColor"
53+
v-model="faveColor"
54+
placeholder="Enter favorite color"
55+
type="string"
56+
class="bg-background text-foreground"
57+
/>
5258
<p class="text-sm text-muted-foreground">What is your favorite color?</p>
5359
</div>
5460

src/builtins/demoTasks/FavoriteNumber.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ function finish() {
4141
<!-- Task content area -->
4242
<div class="w-[80%] h-[80%]">
4343
<!-- Task title -->
44-
<h1 class="text-2xl font-bold mb-4">Task 1</h1>
44+
<h1 class="text-2xl font-bold mb-4">Task 2: What is your favorite number?</h1>
4545

4646
<!-- Form input section -->
47-
<div class="w-1/4 mx-auto mb-10 pb-52 text-left">
47+
<div class="w-1/2 mx-auto mb-10 pb-52 text-left">
4848
<!-- Trial count input form -->
4949
<div class="space-y-2">
5050
<label for="faveNumber" class="text-sm font-medium">Favorite number</label>
51-
<Input id="faveNumber" v-model="faveNumber" placeholder="Enter favorite number" type="number" />
51+
<Input
52+
id="faveNumber"
53+
v-model="faveNumber"
54+
placeholder="Enter favorite number"
55+
type="number"
56+
class="bg-background text-foreground"
57+
/>
5258
<p class="text-sm text-muted-foreground">What is your favorite number?</p>
5359
</div>
5460

0 commit comments

Comments
 (0)