카테고리 추가 버튼 css 수정
This commit is contained in:
parent
aad172e90b
commit
5212c4f6d8
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="dataList.length > 0">
|
<div v-if="dataList.length > 0" >
|
||||||
<FormSelect
|
<FormSelect
|
||||||
class="me-5"
|
class="me-5"
|
||||||
name="cate"
|
name="cate"
|
||||||
@ -10,14 +10,18 @@
|
|||||||
@change="onChange"
|
@change="onChange"
|
||||||
:value="formValue"
|
:value="formValue"
|
||||||
:is-essential="false"
|
:is-essential="false"
|
||||||
/>
|
:is-btn="true"
|
||||||
<div v-if="!isDisabled" class="add-btn">
|
>
|
||||||
<PlusBtn @click="toggleInput"/>
|
<template v-slot:append>
|
||||||
</div>
|
<div v-if="!isDisabled">
|
||||||
|
<PlusBtn @click="toggleInput"/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</FormSelect>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="dataList.length === 0 || showInput">
|
<div v-if="dataList.length === 0 || showInput">
|
||||||
<FormInput
|
<FormInput
|
||||||
class="me-5 parent-class "
|
class="me-5 justify-content-end"
|
||||||
ref="categoryInputRef"
|
ref="categoryInputRef"
|
||||||
title="새 카테고리"
|
title="새 카테고리"
|
||||||
:isLabel="dataList.length === 0 ?true : false"
|
:isLabel="dataList.length === 0 ?true : false"
|
||||||
@ -204,23 +208,3 @@ const handleCategoryFocusout = (value) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.dict-w {
|
|
||||||
width: 83%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.btn-margin {
|
|
||||||
margin-top: 2.5rem
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.add-btn {
|
|
||||||
position: absolute;
|
|
||||||
right: 0.7rem;
|
|
||||||
top: 1.2rem;
|
|
||||||
}
|
|
||||||
.parent-class {
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user