mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
fix(ui): prevent hidden quota row from overflowing
Use w-full instead of min-w-0/flex-1 + overflow-x-auto so the hidden quota chips wrap cleanly instead of stretching the row. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
72ec06a81d
commit
65ac9b3cec
@@ -1270,7 +1270,7 @@ export default function ProviderLimits() {
|
|||||||
visibility_off
|
visibility_off
|
||||||
</span>
|
</span>
|
||||||
<span className="shrink-0">Hidden:</span>
|
<span className="shrink-0">Hidden:</span>
|
||||||
<div className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap">
|
<div className="flex w-full items-center gap-1">
|
||||||
{hiddenQuotaRows.map((quotaRow) => (
|
{hiddenQuotaRows.map((quotaRow) => (
|
||||||
<button
|
<button
|
||||||
key={getQuotaVisibilityKey(quotaRow)}
|
key={getQuotaVisibilityKey(quotaRow)}
|
||||||
|
|||||||
Reference in New Issue
Block a user