1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-17 01:17:29 +02:00
unleash.unleash/frontend/src/component
Thomas Heartman 344e599b09
fix: don't cut off hover-color of favorite button (#7691)
This PR fixes a minor visual issue where the "favorite project" button's
hover outline would get cut off due to its container having `overflow:
hidden`.

The overflow value was introduced in
[#7575](https://github.com/Unleash/unleash/pull/7575) as way to handle
long project names. We didn't discover the hover issue back then because
it's not apparent unless you hover the fav star.

I found the solution in the CSS-tricks post [Preventing a Grid
Blowout](https://css-tricks.com/preventing-a-grid-blowout/). To quote
the article, the reason this works is that:

> the minimum width of a grid column is auto. (The same is true for flex
items, by the way.)
>
> And since auto is entirely based on content, we can say it is
“indefinitely” sized, its dimensions flex. If we were to put an explicit
width on the column, like 50% or 400px, then we would say it is
“definitely” sized.
>
> To apply our fix, we need to make sure that there is the column has a
definite minimum width instead of auto.

Before:

![image](https://github.com/user-attachments/assets/d9296afd-326e-4712-a389-f1bc3a1f821e)


After:

![image](https://github.com/user-attachments/assets/2fd88a51-08be-4bc4-8969-cd6ebbaf255c)

Additionally, I've removed a duplicate declaration of font size,
removing the deprecated version.
2024-07-29 17:03:47 +02:00
..
accessOverview fix: icon imports (#6499) 2024-03-12 10:56:10 +01:00
admin fix: add workaround for tooltip (#7649) 2024-07-24 09:33:29 +00:00
application feat: redirect to new feature flag creation (#7679) 2024-07-26 14:27:02 +03:00
archive chore: rename toggle to flag #7 (#7125) 2024-05-23 13:19:49 +03:00
banners feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
changeRequest feat: configurable strategies limit (#7488) 2024-07-01 10:03:26 +02:00
commandBar fix: project icon sizing and color (#7672) 2024-07-26 10:26:16 +02:00
common feat: Use a toggling button for impression data on/off (#7682) 2024-07-29 08:05:35 +00:00
context feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
demo feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
environments chore: don't prevent users from entering the env form when they're at the limit (#7549) 2024-07-05 13:11:00 +02:00
events fix: break long project/flag names in the event log to prevent overflow (#7684) 2024-07-29 08:54:43 +00:00
feature fix: use nested flexboxes instead of grid area (#7654) 2024-07-29 12:55:52 +02:00
featureTypes chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
feedback feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
feedbackNew feat: command bar feedback (#7485) 2024-07-01 14:15:51 +03:00
filter feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
insights feat: health stats insights explanation (#7690) 2024-07-29 15:19:20 +02:00
integrations Feat: webhook markdown (#7658) 2024-07-25 09:45:20 +00:00
layout fix: project icon sizing and color (#7672) 2024-07-26 10:26:16 +02:00
loginHistory task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
maintenance fix: icon imports (#6499) 2024-03-12 10:56:10 +01:00
menu feat: command bar poc (#7350) 2024-06-11 15:27:59 +03:00
playground/Playground feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
project fix: don't cut off hover-color of favorite button (#7691) 2024-07-29 17:03:47 +02:00
providers feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
segments feat: limit segments component (#7553) 2024-07-08 09:03:08 +02:00
signals feat: what's new in Unleash (#7497) 2024-07-03 09:54:38 +02:00
splash chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
strategies feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
tags feat: separate command bar and search hotkeys (#7651) 2024-07-24 12:46:03 +03:00
user feat: Disallow repeating last 5 passwords. (#7552) 2024-07-09 16:18:35 +02:00
App.tsx fix: make loader not exlpode to 100vh in unnecessary locations (#7589) 2024-07-15 14:41:45 +02:00
InitialRedirect.tsx fix: use a fullscreen loader for the initial redirect load (#7619) 2024-07-18 14:50:59 +02:00