summaryrefslogtreecommitdiffhomepage
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/concurrency/ui/ConcurrencyLimitRow.svelte5
-rw-r--r--src/features/concurrency/ui/ConcurrencyView.svelte4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/features/concurrency/ui/ConcurrencyLimitRow.svelte b/src/features/concurrency/ui/ConcurrencyLimitRow.svelte
index 505847a..44d6726 100644
--- a/src/features/concurrency/ui/ConcurrencyLimitRow.svelte
+++ b/src/features/concurrency/ui/ConcurrencyLimitRow.svelte
@@ -128,8 +128,9 @@
</script>
<div class="flex flex-col gap-1 rounded-box bg-base-200 p-2 text-sm">
- <!-- Line 1: provider + limit + cooldown + Set + ✕ (all on one line). -->
- <div class="flex flex-wrap items-center gap-2">
+ <!-- Line 1: provider + limit + cooldown + Set + ✕ (all on one line — nowrap so
+ the buttons never wrap; the provider shrinks via flex-1 + min-w-0). -->
+ <div class="flex flex-nowrap items-center gap-2">
<span class="min-w-0 flex-1 truncate font-medium font-mono" title={limit.providerId}
>{limit.providerId}</span
>
diff --git a/src/features/concurrency/ui/ConcurrencyView.svelte b/src/features/concurrency/ui/ConcurrencyView.svelte
index 05d178a..9d0c292 100644
--- a/src/features/concurrency/ui/ConcurrencyView.svelte
+++ b/src/features/concurrency/ui/ConcurrencyView.svelte
@@ -363,7 +363,9 @@
✕ cancels the draft. -->
{#if addOpen}
<div class="flex flex-col gap-1 rounded-box bg-base-200 p-2 text-sm">
- <div class="flex flex-wrap items-center gap-2">
+ <!-- All on one line — nowrap so the buttons never wrap (the provider
+ dropdown shrinks via flex-1 + min-w-0). -->
+ <div class="flex flex-nowrap items-center gap-2">
<select
class="select select-bordered select-xs min-w-0 flex-1 font-mono"
aria-label="Provider"