humhub/wiki

Page Index - Level Padding

luke- opened this issue · 7 comments

luke- commented

We recently reduced the paddings in the EE theme.
In the CE theme, however, a larger padding is necessary here.

Enterprise Theme:
image

Community Theme:
image

@Eladnarlea Can you take a look?

I can confirm this is a problem.
image
This is in clean-base theme as well.

The incorrect padding makes it very confusing to the end user. This is what it should look like:
image

(it needs several adjustments to line things up properly, even when there is a 'down-arrow' for sub-items.

I was able to locate CategoryListView.php and change:
public $levelIndent = 47;

And I got this:
image

that is better, but still missing the proper indent on the categories that don't have the drop-down icon. It should look like this:
image

I wish I knew more and could find what to change easily, but I'm sure the developers can fix this quickly and easily (and if someone could tell me where to find it in the meantime, I would be most appreciative!)

luke- commented

@Eladnarlea Should be available on your test installation leandraa. Can you please check?

I think we should indent it a tad more. What do you reckon? @yurabakhtin

Screenshot 2023-08-08 at 8 14 30 AM

I think we should indent it a tad more. What do you reckon? @yurabakhtin

@Eladnarlea For me current space size looks sufficient. If you prefer to have a different spaces on sidebar and here please let me know, but please note it will require to keep two different style codes, also as you can see on my screenshot the titles may be long with 3 dots, so it would be better to keep more space on the left side.

@yurabakhtin okay, let's keep it this way for now. :)

Thank you all for jumping on this. I am excited to test new code when it is released to the marketplace. I am happy to test it beforehand if someone can tell me how to manually install the latest code and I am happy to provide feedback too.