Commit 35e6fea4 authored by TTS Kieu Tuan Anh's avatar TTS Kieu Tuan Anh

format user + categories

parent 5d069544
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<v-col cols="12"> <v-col cols="12">
<v-select <v-select
v-model="eParentId" v-model="eParentId"
:items="categories.filter(category => category.parent_id === null && category.id !== eID)" :items="categories.filter(category =>category.id !== eID)"
item-text="name" item-text="name"
item-value="id" item-value="id"
label="Parent" label="Parent"
...@@ -580,13 +580,16 @@ export default { ...@@ -580,13 +580,16 @@ export default {
</script> </script>
<style scope> <style scope>
.depth-0 > td:first-child { .depth-0 {
background-color: rgba(211, 211, 211, 0.555); background-color: rgba(211, 211, 211, 0.555);
} }
.depth-1 > td:first-child { .depth-1 {
padding-left: 30px !important; padding-left: 30px !important;
background-color: rgba(211, 211, 211, 0.133); background-color: rgba(211, 211, 211, 0.133);
} }
.depth-1 > td:first-child {
padding-left: 30px !important;
}
.depth-2 > td:first-child { .depth-2 > td:first-child {
padding-left: 45px !important; padding-left: 45px !important;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment