mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-11-29 01:45:46 +11:00
fix(DebugPanel): add is-visible class and CSS for expanded panel
This commit is contained in:
1 parent
d395153dca
commit
7fc701651f
2 files changed
+5
No files matched your search
@@ -203,6 +203,7 @@ export class DebugPanel {
|
||||
|
||||
/** Expands the debug panel if it is collapsed. */
|
||||
show() {
|
||||
this.#panel.classList.add("is-visible");
|
||||
this.#panel.classList.remove("collapsed");
|
||||
}
|
||||
|
||||
|
||||
@@ -182,6 +182,10 @@ svg.world-image {
|
||||
transition: min-width 0.2s ease;
|
||||
}
|
||||
|
||||
.debug-panel.is-visible {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.debug-panel.collapsed {
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user