themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.61k stars 715 forks source link

data-popper-arrow does not inherit parent style #600

Open jasoncox opened 1 year ago

jasoncox commented 1 year ago

The data-popper-arrow element does not inherit the border style from its parent.

Here is an example of my implementation:

<div id="tooltip-error" class="absolute z-10 invisible inline-block max-w-sm px-3 py-2 text-xs font-normal text-white bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700 dark:border dark:border-gray-500">
  <%= "Error: #{bucket.connection}" %>
  <div class="tooltip-arrow" data-popper-arrow></div>
</div>
Screenshot 2023-07-10 at 9 27 12 PM