mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 03:16:25 -06:00
#6797: Don't show depth indicator in API select placeholder
This commit is contained in:
parent
0bd3d6dd77
commit
dbcb4aac31
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -328,7 +328,7 @@ class APISelect {
|
|||||||
if (!this.preSorted) {
|
if (!this.preSorted) {
|
||||||
this.preSorted = true;
|
this.preSorted = true;
|
||||||
}
|
}
|
||||||
text = `<span class="depth">${'─'.repeat(result._depth)}</span> ${text}`;
|
text = `<span class="depth">${'─'.repeat(result._depth)} </span>${text}`;
|
||||||
}
|
}
|
||||||
const data = {} as Record<string, string>;
|
const data = {} as Record<string, string>;
|
||||||
const value = result.id.toString();
|
const value = result.id.toString();
|
||||||
|
@ -71,6 +71,10 @@ $spacing-s: $input-padding-x;
|
|||||||
border-color: currentColor;
|
border-color: currentColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.placeholder .depth {
|
||||||
|
// Don't show the depth indicator outside of the menu.
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
span.placeholder > *,
|
span.placeholder > *,
|
||||||
span.placeholder {
|
span.placeholder {
|
||||||
line-height: $input-line-height;
|
line-height: $input-line-height;
|
||||||
|
Loading…
Reference in New Issue
Block a user