mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-18 11:14:57 +02:00
This fixes an issue where the "case sensitive" chip for existing constraints was way too big. The underlying reason is that I switched the icon for one with more padding to give it a consistent size with the "not case sensitive" icon (PR: https://github.com/Unleash/unleash/pull/9851). The fix here is: 1. Add a viewBox to the SVG to let it scale properly. 2. Make the containing box stretch to fill the height of it's flex container. 3. Use a size for height that doesn't grow too large. Before: <img width="137" alt="image" src="https://github.com/user-attachments/assets/f23043f7-76a9-48c4-9f5c-c50371c24f72" /> After: <img width="178" alt="image" src="https://github.com/user-attachments/assets/cc2f8109-21ed-4070-b4bc-7c94be5b8e8d" /> |
||
---|---|---|
.. | ||
ConstraintItemHeader | ||
ConstraintSeparator | ||
StrategyEvaluationChip | ||
StrategyEvaluationItem | ||
ValuesList | ||
ConstraintsList.tsx |