rvanhorn / hugo-dynamic-tabs

A Hugo theme component that allows you to add dynamic tabs in your markdown files.
https://hugo-dynamic-tabs.netlify.app/
MIT License
53 stars 14 forks source link

Feature request: last tab aligned to right margin #6

Closed deining closed 2 years ago

deining commented 3 years ago

I just came across this great project and immediately liked it. I will certainly evaluate this for my purposes.

Two suggestions and one feature request:

This way it should be easier to grasp what the repo is about.

rvanhorn commented 3 years ago

Thanks for the suggestions, I've added the link and the tags.

Adding a drop-down would be a bit more difficult and would require its own shortcode set. Its outside the scope of this project but you could probably copy the tabs/tab shortcode and modify them to generate the dropdown.

deining commented 3 years ago

Thanks for the suggestions, I've added the link and the tags.

Great, thank you.

Adding a drop-down would be a bit more difficult

Please note that this issue is not about adding a drop-down menu, it's about support for right aligning tabs. Please have a look at this demo to get a full understanding if what I mean. As described there, right aligning tabs can be done by simply adding ml-auto class:

<li class="nav-item **ml-auto**"><a class="nav-link" data-toggle="tab" href="#tab22" role="tab">More</a></li>

I think this is something that could be achieved quite easily and would be an enhancement to this project.

rvanhorn commented 3 years ago

Ah, I misread your initial post, my apologies.

I'll take a look later this week and see what I can do.

rvanhorn commented 2 years ago

Now available with V2.00.