Nested sidebar ordering almost working

This commit is contained in:
Gregory Schier
2023-11-03 14:08:46 -07:00
parent 30e1ecac39
commit 867f3908ed
5 changed files with 220 additions and 110 deletions

View File

@@ -58,7 +58,7 @@
-webkit-text-security: none;
&.placeholder-widget-error {
@apply bg-red-300/40 border-red-300 border-opacity-40;
@apply bg-red-300/40 border-red-300/80 border-opacity-40 hover:border-red-300 hover:bg-red-300/50;
}
}
}

View File

@@ -16,6 +16,7 @@ class PlaceholderWidget extends WidgetType {
elt.className = `placeholder-widget ${
!this.isExistingVariable ? 'placeholder-widget-error' : ''
}`;
elt.title = !this.isExistingVariable ? 'Variable not found in active environment' : '';
elt.textContent = this.name;
return elt;
}