Skip to content

Commit 00d8459

Browse files
Fixed CSS issue
1 parent 4ae707d commit 00d8459

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

resources/css/tree.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,14 @@
507507
}
508508

509509
.treeselect--disabled > .treeselect-input {
510-
color: rgba(var(--gray-500),1);
510+
color: rgba(var(--gray-500), 1);
511511
background: #fafafa;
512512
}
513+
514+
.treeselect .treeselect-list, .treeselect-list {
515+
position: inherit !important;
516+
}
517+
518+
.treeselect-input--opened.treeselect-input--top {
519+
border-top: 1px solid #dddddd !important;
520+
}

resources/dist/tree.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/dist/tree.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default function tree({
1212
isSingleSelect = true,
1313
showTags = false,
1414
clearable = false,
15+
alwaysOpen,
1516
}) {
1617
return {
1718
state,
@@ -30,7 +31,8 @@ export default function tree({
3031
disabled,
3132
isSingleSelect,
3233
showTags,
33-
clearable
34+
clearable,
35+
alwaysOpen
3436
});
3537

3638
this.tree.srcElement.addEventListener('input', (e) => {

0 commit comments

Comments
 (0)