fixed bug gfx vue component

pull/44/head
A1Gard 5 months ago
parent ecf6301212
commit 60698fce0c

@ -7,7 +7,8 @@
<i class="ri-brush-2-line"></i> <i class="ri-brush-2-line"></i>
GFX GFX
</h3> </h3>
<div v-for="(v,i) in values" class="p-2 item-gfx"> <template v-for="(v,i) in values" >
<div v-if="v != undefined" class="p-2 item-gfx">
<div class="float-end" <div class="float-end"
v-if="i == 'background' || i == 'primary' || i == 'secondary' || i == 'text'"> v-if="i == 'background' || i == 'primary' || i == 'secondary' || i == 'text'">
<input type="color" v-model="values[i]" class="form-control-color"> <input type="color" v-model="values[i]" class="form-control-color">
@ -33,8 +34,10 @@
<option value="container-fluid"> Container fluid</option> <option value="container-fluid"> Container fluid</option>
</select> </select>
</template> </template>
<input :name="'gfx['+i+']'" :type="_dbg_" :value="v"> <input :name="'gfx['+i+']'" :type="_dbg_" :value="v">
</div> </div>
</template>
<div class="p-2"> <div class="p-2">
<select v-model="device" class="form-control"> <select v-model="device" class="form-control">
<option value="desktop"> Desktop</option> <option value="desktop"> Desktop</option>
@ -394,6 +397,7 @@ export default {
} }
.diff { .diff {
filter: invert(1);mix-blend-mode: difference; filter: invert(1);
mix-blend-mode: difference;
} }
</style> </style>

Loading…
Cancel
Save