Skip to content

Commit

Permalink
Implemented design review feedback:
Browse files Browse the repository at this point in the history
* Required field (Name) now shows a red asterisk indicating its required
* Made error messages less round.
  • Loading branch information
MelissaAutumn committed Apr 22, 2024
1 parent 9f2b88a commit a48eb3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/src/components/ScheduleCreation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</alert-box>

<div class="px-4">
<label for="scheduleName">
<label for="scheduleName" class="flex-column flex">
<input
id="scheduleName"
type="text"
Expand All @@ -23,6 +23,7 @@
class="place-holder w-full rounded-none border-0 border-b bg-transparent px-0 dark:bg-transparent"
required
/>
<div v-if="!scheduleInput.name" class="content-center text-red-500">*</div>
</label>
</div>
<!-- step 1 -->
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/elements/AlertBox.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="flex items-center p-2 leading-none text-white shadow-md shadow-black/30 dark:shadow-lg lg:inline-flex lg:rounded-full"
class="flex items-center p-2 leading-none text-white shadow-md shadow-black/30 dark:shadow-lg lg:inline-flex lg:rounded-xl"
role="alert"
:class="{
'bg-rose-600 dark:bg-rose-900': scheme === alertSchemes.error,
Expand Down

0 comments on commit a48eb3e

Please sign in to comment.