mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
Without this, there's no way to tell if a flag is stale or not on the flag page, so we're adding it back in. However, we'll only show the badge if it's stale, not if it's an active flag. Stale flag with badge:  When it wraps:  To make the badge line up properly when it wraps, I removed the hard-coded margin in the badge. To counteract that, I've also removed the hard-coded margin in the "copy name" button and switched to using flex gaps to sort that. It still looks right. Before:  After:  |
||
---|---|---|
.. | ||
__mocks__ | ||
assets | ||
component | ||
constants | ||
contexts | ||
hooks | ||
interfaces | ||
openapi | ||
themes | ||
types | ||
utils | ||
index.tsx | ||
setupTests.ts | ||
vite-env.d.ts |