pico
pico copied to clipboard
Tooltip support directions
Support directions with data-placement property.
Add tooltip examples.

https://github.com/picocss/pico/pull/180
I need this! =) Have an issue with default placement renders tooltips partially offscreen on narrow displays.
using release
v1.5.3
I need this! =) Have an issue with default placement renders tooltips partially offscreen on narrow displays.
using release
v1.5.3
Pure CSS is difficult to implement. It can be solved by line wrapping I think.
- "@picocss/pico": "^1.5.3"
- data-placement="bottom" not working
- "@picocss/pico": "^1.5.3"
- data-placement="bottom" not working
The author has not merged this request, so it does not take effect.
@wenkm aha thx, sorry my mistake
Closes #180
Hi @wenkm, Thank you for your changes and sorry for the delay. I greatly appreciate your contribution.
I rebased your branch, made slight changes to the SCSS syntax, changed the documentation formatting (see bellow), and rebuilt the CSS.

I will merge into dev, and then in the next release quickly. @sysmat, it's coming 🙂🚀
Have an issue with default placement renders tooltips partially offscreen on narrow displays.
@wenkm @sysmat Yes, I tried again, but I didn't have an elegant solution in pure CSS.