Dashboard page is blank
-
Dashboard page is blank — content clipped by
#wpbodyhaving no height (one-line CSS fix)Problem: Settings → Copy to Clipboard renders blank below the header. The stats cards, Recent Rules, Quick Actions and System Health are all cut off. Reproduces in Chrome/Edge, normal and incognito — so it’s not browser, cache, extension or network related.
Cause: The dashboard content actually renders fine — it’s clipped by CSS. The plugin emits an empty root and an absolutely-positioned,
overflow:hiddenpanel:<div id="ctc-dashboard-root"></div> <div class="ctc-dashboard h-full ... absolute top-0 left-0 right-0 bottom-0 overflow-hidden">Since the panel is
absolute+top/bottom:0, its height resolves against the nearest positioned ancestor,#wpbody. WordPress sets#wpbody { position: relative; }but gives it no height (auto/content-driven). The absolutely-positioned panel contributes no height itself, so it collapses to ~75px — just the header row — andoverflow:hiddenclips everything below it.#wpbody height 75px (auto, no explicit height) #ctc-dashboard-root height 0px ← collapse .ctc-dashboard height 75px ← clippedFix (verified working):
.settings_page_ctc #wpbody { height: calc(100vh - 32px); /* 32px = admin bar */ }I tested this live — with that one rule all cards and sections render correctly.
Workaround for users: add the CSS above via a snippets/header-footer plugin until patched.
Environment: WP 7.1.3 · Copy Anything to Clipboard 5.5.3 (Free) · nginx · no CSP blocking.
You must be logged in to reply to this review.