Revert "feat: v2 widget dashboard system"

This commit is contained in:
Spicy Marinara
2025-11-06 20:06:26 +01:00
committed by GitHub
parent ba45e499e1
commit fd9adce068
51 changed files with 199 additions and 28555 deletions
-6
View File
@@ -47,12 +47,6 @@ export class DiceModal {
open() {
if (this.isAnimating) return;
// CRITICAL: Move modal to document.body on first use to escape any container constraints
if (this.modal.parentElement?.tagName !== 'BODY') {
document.body.appendChild(this.modal);
console.log('[DiceModal] Moved modal to document.body to ensure proper viewport positioning');
}
// Apply theme
const theme = extensionSettings.theme;
this.modal.setAttribute('data-theme', theme);