Skip to content

Commit cdc24eb

Browse files
committed
feat(ui): add arrow for task params in schedule form
1 parent 9cb1978 commit cdc24eb

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

web/src/App.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,14 @@
605605
</template>
606606
<style lang="scss">
607607
608+
.theme--dark {
609+
--highlighted-card-bg-color: #262626;
610+
}
611+
612+
.theme--light {
613+
--highlighted-card-bg-color: white;
614+
}
615+
608616
.DarkModeSwitch {
609617
.v-input__prepend-outer {
610618
transform: translateY(1px);

web/src/components/ScheduleForm.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,20 @@
4646
/>
4747

4848
<v-card
49-
style="background: rgba(133, 133, 133, 0.06)"
49+
style="background: var(--highlighted-card-bg-color)"
5050
v-if="item.template_id"
51-
class="mb-8"
51+
class="mb-8 pt-3"
5252
>
53+
<div style="
54+
position: absolute;
55+
background: var(--highlighted-card-bg-color);
56+
width: 28px;
57+
height: 28px;
58+
transform: rotate(45deg);
59+
left: calc(50% - 14px);
60+
top: -14px;
61+
border-radius: 0;
62+
"></div>
5363
<v-card-text>
5464
<TaskParamsForm
5565
:template="templates.find(t => t.id === item.template_id)"

0 commit comments

Comments
 (0)