pico icon indicating copy to clipboard operation
pico copied to clipboard

Tooltip support directions

Open wenkm opened this issue 2 years ago • 0 comments

Support directions with data-placement property.

Add tooltip examples.

image

https://github.com/picocss/pico/pull/180

wenkm avatar Jun 21 '22 09:06 wenkm

I need this! =) Have an issue with default placement renders tooltips partially offscreen on narrow displays.

image using release v1.5.3

telamon avatar Aug 20 '22 09:08 telamon

I need this! =) Have an issue with default placement renders tooltips partially offscreen on narrow displays.

image using release v1.5.3

Pure CSS is difficult to implement. It can be solved by line wrapping I think.

wenkm avatar Sep 01 '22 02:09 wenkm

  • "@picocss/pico": "^1.5.3"
  • data-placement="bottom" not working

sysmat avatar Sep 01 '22 08:09 sysmat

  • "@picocss/pico": "^1.5.3"
  • data-placement="bottom" not working

The author has not merged this request, so it does not take effect.

wenkm avatar Sep 01 '22 08:09 wenkm

@wenkm aha thx, sorry my mistake

sysmat avatar Sep 01 '22 08:09 sysmat

Closes #180

lucaslarroche avatar Sep 11 '22 08:09 lucaslarroche

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.

Screen Shot 2022-09-11 at 15 07 01

I will merge into dev, and then in the next release quickly. @sysmat, it's coming 🙂🚀

lucaslarroche avatar Sep 11 '22 08:09 lucaslarroche

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.

lucaslarroche avatar Sep 11 '22 08:09 lucaslarroche