mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-08 20:18:28 -05:00
Fix an issue where server foreground/background color was not getting applied after jQuery changes. #5701
This commit is contained in:
@@ -838,7 +838,7 @@ define('pgadmin.browser.node', [
|
||||
`;
|
||||
|
||||
// Prepare dynamic style tag using template
|
||||
document.querySelector(`style[id="${dynamic_class}"]`).remove();
|
||||
document.querySelector(`style[id="${dynamic_class}"]`)?.remove();
|
||||
document.head.appendChild(styleTag);
|
||||
// Add dynamic class to the tree node.
|
||||
pgBrowser.tree.addCssClass(item, dynamic_class);
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
span.file-label {
|
||||
span.file-name {
|
||||
color: $tree-text-hover-fg !important;
|
||||
color: $tree-text-hover-fg;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
span.file-label {
|
||||
span.file-name {
|
||||
color: $tree-text-hover-fg !important;
|
||||
color: $tree-text-hover-fg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user