-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: use dot badge if no content (#2963)
Badges in the QuickLinks component use the standard variant which looks too big without text in it. This PR conditionally renders either a `dot` variant if there is no badge content or the `standard` one if there is. before: <img width="677" alt="image" src="https://github.com/lyft/clutch/assets/5430603/8f27d787-4a26-4e25-aba9-600b5e661143"> after: <img width="675" alt="image" src="https://github.com/lyft/clutch/assets/5430603/fa37c7f3-1cd6-4961-a23e-29d7d438c123"> ### Testing Performed manual
- Loading branch information
Showing
2 changed files
with
38 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters