bulrush icon indicating copy to clipboard operation
bulrush copied to clipboard

Ability to left-justify the menu

Open Techcable opened this issue 4 years ago • 1 comments

Hello, I would like it if the menu was able to be left-justified and inline with the website's title in the top-left.

Something like this (please ignore the bizarre name): image

Do I have to use custom CSS for this? Would this be appropriate as a config option? If so, I'd be willing to try and contribute it.

Techcable avatar Oct 08 '21 00:10 Techcable

I don't think you could do this just by adding CSS, it would be a structural change to the layout of the page. Bulrush uses the navbar component for both the header (where the title is) and the menu:

https://github.com/textbook/bulrush/blob/32a08fb45e008198600b45df58735fe8805b991e/bulrush/templates/base.html#L23-L58

This would be a possible but quite substantial change to make conditionally with a configuration option. I'd be open to discussing a proposed implementation but at a certain point you might be better making a fork of Bulrush you can adapt to your specific needs (#36 suggests you have other changes in mind!)

textbook avatar Oct 08 '21 07:10 textbook