Repository navigation
Improve tree view by adding indents and vertical lines and aligning texts - #85
Conversation
* indenting directory contents one level below the directory name, * aligning the text of directories and files within the same directory, and * adding vertical lines that span the contents of directories Closes #80
Also use `class="relative w-full"` on the root level.
brufdev
left a comment
There was a problem hiding this comment.
Thank you for the contribution.
I believe the issues with the development environment are caused by the missing broadcasting service. Add the following to you .env file:
SCOUT_DRIVER=null
BROADCAST_CONNECTION=nullI would prefer you stick with TailwindCSS for everything, so instead of the class, you could add: pl-2 ml-2 border-l-2 border-light-base-300 dark:border-base-500. Please double-check if this produces the same result, as I haven't tested it. This adds the color to both themes as well.
Can you confirm these changes on a vault containing only files? Just to check, that the padding on the left doesn't seem too much without the chevrons.
I will work on other things first but I can finish this later if you can't.
|
About the indent, I was thinking of only indenting files if there are folders at that level, but maybe that could be confusing. I'll try it out and see how it looks. Thank you! |



Improve tree view by
Closes #80