chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-07-11 19:21:52 -07:00
parent d9113cc62c
commit 648cc87823
No known key found for this signature in database
GPG key ID: 8703CACD01000000
4 changed files with 34 additions and 41 deletions

View file

@ -28,15 +28,8 @@
i18n.ts.close
}}</MkButton>
</header>
<VueDraggable
v-model="widgets_"
handle=".handle"
animation="150"
>
<div
v-for="element in widgets_"
:key="element.id"
>
<VueDraggable v-model="widgets_" handle=".handle" animation="150">
<div v-for="element in widgets_" :key="element.id">
<div class="customize-container">
<button
class="config _button"

View file

@ -7,15 +7,15 @@
animation="150"
swap-threshold="0.5"
>
<component
v-for="element in blocks"
:key="element"
:is="'x-' + element.type"
:value="element"
:hpml="hpml"
@update:value="updateItem"
@remove="() => removeItem(element)"
/>
<component
v-for="element in blocks"
:key="element"
:is="'x-' + element.type"
:value="element"
:hpml="hpml"
@update:value="updateItem"
@remove="() => removeItem(element)"
/>
</VueDraggable>
</template>

View file

@ -128,17 +128,17 @@
animation="150"
swap-threshold="0.5"
>
<XVariable
v-for="element in variables"
:key="element.name"
:model-value="element"
:removable="true"
:hpml="hpml"
:name="element.name"
:title="element.name"
:draggable="true"
@remove="() => removeVariable(element)"
/>
<XVariable
v-for="element in variables"
:key="element.name"
:model-value="element"
:removable="true"
:hpml="hpml"
:name="element.name"
:title="element.name"
:draggable="true"
@remove="() => removeVariable(element)"
/>
</VueDraggable>
<MkButton

View file

@ -18,18 +18,18 @@
@end="save"
delay-on-touch-only="true"
>
<div
v-for="item in reactions"
:key="item"
class="_button item"
@click="remove(item, $event)"
>
<MkEmoji
:emoji="item"
style="height: 1.7em"
class="emoji"
/>
</div>
<div
v-for="item in reactions"
:key="item"
class="_button item"
@click="remove(item, $event)"
>
<MkEmoji
:emoji="item"
style="height: 1.7em"
class="emoji"
/>
</div>
<template #footer>
<button class="_button add" @click="chooseEmoji">
<i class="ph-plus ph-bold ph-lg"></i>