Skip to content

Commit

Permalink
feat: level 1 handled
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Dec 15, 2023
1 parent 57572f5 commit a7a3ff0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@
'div', {
class: [
'v-tree-item active inline-block w-full [&>.v-tree-item]:ltr:pl-6 [&>.v-tree-item]:rtl:pr-6 [&>.v-tree-item]:hidden [&.active>.v-tree-item]:block',
level > 1 && ! hasChildren ? 'ltr:!pl-14 rtl:!pr-14' : '',
level === 1 && ! hasChildren
? 'ltr:!pl-5 rtl:!pr-5'
: level > 1 && ! hasChildren
? 'ltr:!pl-14 rtl:!pr-14'
: '',
],
}, [
this.generateToggleIconComponent({
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/themes/admin/default/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"src/Resources/assets/css/app.css": {
"file": "assets/app-d855ccba.css",
"file": "assets/app-8b351dd5.css",
"isEntry": true,
"src": "src/Resources/assets/css/app.css"
},
Expand Down

0 comments on commit a7a3ff0

Please sign in to comment.