Skip to content

Commit 8f75a81

Browse files
committed
UI control alignment, Spiral layout and fire effect
Front End ======== - MultiInput label min-w-24, slider flex BackEnd ======= - E_MoonLight: add SpiralFireEffect - L_MoonLight: add SpiralLayout
1 parent f91f8c2 commit 8f75a81

File tree

6 files changed

+10173
-10039
lines changed

6 files changed

+10173
-10039
lines changed

interface/src/lib/components/moonbase/MultiInput.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@
8686
</script>
8787

8888
<div>
89-
<div class="flex-row flex items-center space-x-2">
90-
<label class="label cursor-pointer" for={property.name}>
91-
<!-- <span class="text-md">{initCap(property.name)}</span> -->
89+
<div class="flex-row flex items-center space-x-2 mb-2">
90+
<label class="label cursor-pointer min-w-24" for={property.name}>
9291
<span class="mr-4">{initCap(property.name)}</span>
9392
</label>
9493

@@ -131,7 +130,7 @@
131130
min={property.min ? property.min : 0}
132131
max={property.max ? property.max : 255}
133132
{step}
134-
class={'w-full range ' +
133+
class={'flex-1 range ' +
135134
(disabled == false
136135
? property.color == 'Red'
137136
? 'range-error'
@@ -140,7 +139,6 @@
140139
: 'range-primary'
141140
: 'range-secondary')}
142141
{disabled}
143-
title={property.default}
144142
bind:value
145143
on:input={onChange}
146144
/>

0 commit comments

Comments
 (0)