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 ff9492d4f7
fix: permission button unintended full width behavior (#8920)
Follow-up to https://github.com/Unleash/unleash/pull/8882

The referenced PR caused an unintended behavior by making the button
behave like a normal button would on certain parent containers.
Previously, the span wrapper caused a side effect that restricted the
button’s width, which we were relying on.

By setting some initial styling properties, this PR should hopefully
satisfy both use cases.


![image](https://github.com/user-attachments/assets/2c5a4a97-51ff-426c-b5da-7b00d5d6516a)


![image](https://github.com/user-attachments/assets/f8f3fc13-df19-44d5-8fce-4bb0dc323d4e)


![image](https://github.com/user-attachments/assets/80625e88-0d1a-4c83-93d7-250351dae3a4)
2024-12-05 09:23:06 +00:00
..
__mocks__
assets chore: release template sidebar (#8871) 2024-11-27 13:16:27 +00:00
component fix: permission button unintended full width behavior (#8920) 2024-12-05 09:23:06 +00:00
constants
contexts
hooks test: loosen up useTrafficData test (#8901) 2024-12-02 09:15:54 +00:00
interfaces 1-3060: remove features export import flag (#8890) 2024-12-02 09:26:06 +00:00
openapi chore: update orval schema (#8839) 2024-11-22 13:19:29 +02:00
themes
types
utils chore: update release plans icon (#8894) 2024-12-02 11:51:18 +00:00
index.tsx fix: send UI error tracking (#8725) 2024-11-13 16:13:05 +01:00
setupTests.ts
vite-env.d.ts