From 5aa2c774d2bd138b4c6fd55f38bcba5fe89eef37 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 9 Jun 2026 01:30:31 +0200 Subject: [PATCH] mining --- public/assets/desktop/desktop.css | 37 +++++++++++++++++++++++++++++-- public/assets/desktop/desktop.js | 4 ++++ 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/public/assets/desktop/desktop.css b/public/assets/desktop/desktop.css index 63d45a5c..baf40efd 100644 --- a/public/assets/desktop/desktop.css +++ b/public/assets/desktop/desktop.css @@ -240,6 +240,7 @@ h1 { position: absolute; display: flex; flex-direction: column; + min-height: 240px; border-radius: 20px; overflow: hidden; background: var(--window-bg); @@ -383,25 +384,57 @@ h1 { } .window-content { + flex: 1 1 auto; + min-height: 0; padding: 18px; font-size: 15px; line-height: 1.5; + overflow: auto; } .window-content--embedded { - flex: 1; + position: relative; + display: block; + flex: 1 1 auto; + min-height: 0; padding: 0; overflow: hidden; } .window-app-frame { - display: block; + position: absolute; + inset: 0; width: 100%; height: 100%; border: 0; background: #ffffff; } +.window-embed-fallback { + position: absolute; + inset: auto 16px 16px 16px; + z-index: 1; + padding: 12px 14px; + border-radius: 14px; + background: rgba(255, 255, 255, 0.92); + color: #0f172a; + box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12); + font-size: 13px; + line-height: 1.45; +} + +.window-embed-fallback p { + margin: 0; +} + +.window-embed-fallback p + p { + margin-top: 6px; +} + +.window-embed-fallback a { + color: #2563eb; +} + .taskbar { position: fixed; left: var(--taskbar-left); diff --git a/public/assets/desktop/desktop.js b/public/assets/desktop/desktop.js index 25c7b8a5..d6d20068 100644 --- a/public/assets/desktop/desktop.js +++ b/public/assets/desktop/desktop.js @@ -115,6 +115,10 @@ if (payloadNode) { return `
+
+

${title} wird geladen.

+

Falls die Einbettung leer bleibt, direkt oeffnen: ${src}

+
`; }