summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 20:49:08 +0900
committerAdam Malczewski <[email protected]>2026-06-28 20:49:08 +0900
commite3df087236a3a976e23ecc6fa2b69ed9b2cc38d9 (patch)
tree056bf08978379ce35a110845c946cd166294240b
parentb556a4a9e9fa775142d4c99ed94aa2766834afd4 (diff)
downloaddispatch-web-e3df087236a3a976e23ecc6fa2b69ed9b2cc38d9.tar.gz
dispatch-web-e3df087236a3a976e23ecc6fa2b69ed9b2cc38d9.zip
fix(concurrency): keep Set+X inline (nowrap) instead of wrapping to a new line
-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"