1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/frontend/src/component
Thomas Heartman 243088fdca
fix: Add strategy and more strategies button are different heights (#9300)
Fixes the height discrepancy between add strategy and more strategies
buttons, both with and without the flag enabled.

The essence of the fix is to make the "more strategies" button's height
dynamic and grow to match the height of the other button.



Before (flag enabled):

![image](https://github.com/user-attachments/assets/4dda44b3-3add-40cd-93ed-48150e73ac35)

After (flag enabled):

![image](https://github.com/user-attachments/assets/2788f141-fe64-4733-9202-f9f115396001)


Before (flag disabled):

![image](https://github.com/user-attachments/assets/c3a9d396-cb30-4a61-9400-45458189d3f2)

After (flag disabled):

![image](https://github.com/user-attachments/assets/0570ff85-401a-4e6f-93e7-d1619a4cd848)

As a bonus: also enables the ui font redesign flag for server-dev.

If you're very sharp-eyed, you might notice a few things:

1. There's more padding on the new button. This was done in concert with
UX when we noticed there was more padding on other buttons. So as a
result, we set the button type to the default instead of "small".

1. The kebab button isn't perfectly square with the flag on. There's a
few issues here, but essentially: to use `aspect-ratio: 1`, you need
either a height or a width set. Because we want everything here to be
auto-generated (use the button's intrinsic height), I couldn't make it
work. In the end, I think this is close enough. If you have other ideas,
you're very welcome to try and fix it.
2025-02-12 13:54:06 +01:00
..
accessOverview
admin feat: connection count usage (#9294) 2025-02-11 16:15:45 +01:00
application
archive
banners
changeRequest
commandBar fix: some accessibility issues (#9282) 2025-02-11 09:16:20 +01:00
common fix: make the chip in the playground project selector small (#9298) 2025-02-12 09:38:49 +01:00
context
demo
environments
events
feature fix: Add strategy and more strategies button are different heights (#9300) 2025-02-12 13:54:06 +01:00
featureTypes
feedback fix: Use the right theme even if the payload is a variant. (#9292) 2025-02-11 13:28:36 +00:00
feedbackNew
filter
insights
integrations
layout fix: some accessibility issues (#9282) 2025-02-11 09:16:20 +01:00
loginHistory
maintenance
menu fix: command bar spacing (#9288) 2025-02-11 16:17:24 +01:00
onboarding
personalDashboard chore: removes extra border on collapse for the event timeline (#9270) 2025-02-10 10:52:32 +01:00
playground/Playground fix: some accessibility issues (#9282) 2025-02-11 09:16:20 +01:00
project
providers
releases
segments
signals
splash
strategies
tags fix: Use the right theme even if the payload is a variant. (#9292) 2025-02-11 13:28:36 +00:00
user
App.tsx refactor: theme - font size (#9273) 2025-02-11 09:07:27 +01:00
InitialRedirect.tsx