Add dropdown navigation per #85 - #106
Conversation
|
Hi @ethanpil, |
|
Hi @ethanpil, I like this addition, but there are a few problems:
I appreciate your PR, but I'd rather ship a more complete feature. |
|
Good points @lucaslarroche In terms of your comment "The submenu should be left-aligned to the parent link (and right-aligned in ltr mode)" |
|
Thanks @ethanpil! I will greatly appreciate this addition |
|
@ethanpil Probably |
Added box-shadow, rtl alignment, works with vertical nav/aside, fix paddings and font-size, per @lucaslarroche suggestions
|
@lucaslarroche I just pushed in the changes you requested above. I built the css and replicated my results in this JSFiddle. |
|
Hi @ethanpil, After more thinking, researching, and iterating on @KiranMantha's PR, I changed the Dropdown integration. Unfortunately, the next minor release (1.5.0) will not include your PR. I think it's better for Pico's evolution as:
Preview is here: https://picocss.github.io/pico/docs/dropdowns.html Feel free to review and comment. |
|
Thanks Lucas! It'll be worth the wait :) |
|
@lucaslarroche I agree that @KiranMantha has a more flexible and robust solution. Glad that its there and happy to see the functionality in production ASAP! |

Per the discussion in #85 here is a proposed solution. I tested it with the default example file by adding this code right after the first
<main class="container">tag: