fix: Prevent task list checkboxes from shrinking for consistent alignment (#22886)
This commit is contained in:
@@ -241,7 +241,7 @@
|
||||
<li class="text-start">
|
||||
{#if item?.task}
|
||||
<input
|
||||
class=" translate-y-[1px] -translate-x-1"
|
||||
class=" translate-y-[1px] -translate-x-1 flex-shrink-0"
|
||||
type="checkbox"
|
||||
checked={item.checked}
|
||||
on:change={(e) => {
|
||||
@@ -276,7 +276,7 @@
|
||||
<li class="text-start {item?.task ? 'flex -translate-x-6.5 gap-3 ' : ''}">
|
||||
{#if item?.task}
|
||||
<input
|
||||
class=""
|
||||
class="flex-shrink-0"
|
||||
type="checkbox"
|
||||
checked={item.checked}
|
||||
on:change={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user