Skip to content

Commit 78bf76d

Browse files
committed
fix: join outline issues. closes: saadeghi#3722
1 parent b7171b3 commit 78bf76d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/daisyui/src/components/input.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
outline: 2px solid var(--input-color);
4040
outline-offset: 2px;
4141
isolation: isolate;
42+
z-index: 1;
4243
}
4344

4445
&:has(> input[disabled]),
@@ -77,7 +78,6 @@
7778
@apply text-base-content bg-base-100;
7879
border-color: #0000;
7980
box-shadow: none;
80-
isolation: isolate;
8181
}
8282
}
8383

packages/daisyui/src/components/select.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
outline: 2px solid var(--input-color);
5454
outline-offset: 2px;
5555
isolation: isolate;
56+
z-index: 1;
5657
}
5758

5859
&:has(> select[disabled]),

packages/daisyui/src/utilities/join.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969

7070
.join-item {
71-
&:where(*:not(:first-child)) {
71+
&:where(*:not(:first-child, :disabled, [disabled], .btn-disabled)) {
7272
margin-inline-start: calc(var(--border, 1px) * -1);
7373
margin-block-start: 0;
7474
}

0 commit comments

Comments
 (0)