From cdd1fc31b7430ee81e45d9ccc317f707fdf4a08f Mon Sep 17 00:00:00 2001 From: soraefir Date: Thu, 13 Jul 2023 19:03:32 +0200 Subject: [PATCH] Fixing style --- template/module/journey_sec.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/module/journey_sec.pug b/template/module/journey_sec.pug index 0ae4428..b393ad3 100644 --- a/template/module/journey_sec.pug +++ b/template/module/journey_sec.pug @@ -1,5 +1,5 @@ -draggable(tag='ul' :list='journey_data.main' class='list-group bg-dark' handle='.handle') - div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :style='journey_step_data.section==idx?"background:red":""') +draggable(tag='div' :list='journey_data.main' class='list-group bg-dark' handle='.handle') + div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :class='{ bg-primary: (journey_step_data.section==idx) }') div.text {{element.title}} i.fa.fa-times.close.fright(style='top:2px;right:2px;position:absolute;' @click='rm_section(idx)')