1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/frontend/src
Nuno Góis 226b48930e
fix: permission button tooltip behavior (#8882)
https://linear.app/unleash/issue/2-3039/fix-the-tooltip-behavior-in-permission-buttons

Improves the tooltip behavior of our permission button component.

This is achieved by removing the extra `span` element that is wrapping
the `Button` component.

#### Before

The tooltip is not correctly aligned with the button. The lower section
of the button is not clickable.


![image](https://github.com/user-attachments/assets/bd5eb4d8-5b59-476f-80b1-227d7afeac2f)

#### After

The tooltip is correctly aligned with the button. Every visible part of
the button is clickable.


![image](https://github.com/user-attachments/assets/3c6271dd-8537-4f75-bd49-38e4b9ae307e)
2024-11-28 16:38:11 +00:00
..
__mocks__
assets chore: release template sidebar (#8871) 2024-11-27 13:16:27 +00:00
component fix: permission button tooltip behavior (#8882) 2024-11-28 16:38:11 +00:00
constants
contexts
hooks chore: release template sidebar (#8871) 2024-11-27 13:16:27 +00:00
interfaces chore: release template sidebar (#8871) 2024-11-27 13:16:27 +00:00
openapi chore: update orval schema (#8839) 2024-11-22 13:19:29 +02:00
themes chore: upgrade to biome 1.9.4 (#8616) 2024-10-31 15:24:22 +01:00
types
utils chore: release plans flow in flag environments (#8843) 2024-11-26 09:15:24 +00:00
index.tsx fix: send UI error tracking (#8725) 2024-11-13 16:13:05 +01:00
setupTests.ts chore: scroll-related UX adjustments in the Unleash AI chat (#8478) 2024-10-18 14:38:46 +01:00
vite-env.d.ts