From ca612bf895692b72f7156ef3ccc8fcf47ee1cfc1 Mon Sep 17 00:00:00 2001 From: unifolia Date: Mon, 17 Nov 2025 12:39:38 -0500 Subject: [PATCH 1/2] Showing Smart Window chat on History fullscreen --- browser/components/smartwindow/content/page-history.mjs | 3 +++ browser/themes/shared/browser-shared.css | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/browser/components/smartwindow/content/page-history.mjs b/browser/components/smartwindow/content/page-history.mjs index 09c64a250e5bc..5fabc3970f6db 100644 --- a/browser/components/smartwindow/content/page-history.mjs +++ b/browser/components/smartwindow/content/page-history.mjs @@ -184,9 +184,12 @@ export class PageHistoryOverlay extends LitElement { render() { if (!this.isOpen) { + document.documentElement.removeAttribute("smart-window-history"); return html``; } + document.documentElement.setAttribute("smart-window-history", "true"); + return html`
e.stopPropagation()}> diff --git a/browser/themes/shared/browser-shared.css b/browser/themes/shared/browser-shared.css index 36797be8249c0..da374a5ad5ffc 100644 --- a/browser/themes/shared/browser-shared.css +++ b/browser/themes/shared/browser-shared.css @@ -1439,9 +1439,11 @@ browser { } } -:root[smart-window][smart-window-url] #smartwindow-box, -:root[smart-window][smart-window-url] #smartwindow-splitter { - visibility: collapse; +:root[smart-window][smart-window-url]:not([inFullscreen]) { + #smartwindow-box, + #smartwindow-splitter { + visibility: collapse; + } } :root[smart-window] .tabbrowser-tab > .tab-stack > .tab-background[selected] { From 6555287fe8a35c8e7a1af5b43399d3e67026cbdf Mon Sep 17 00:00:00 2001 From: unifolia Date: Mon, 17 Nov 2025 12:45:28 -0500 Subject: [PATCH 2/2] Showing Smart Window chat on History fullscreen --- browser/components/smartwindow/content/page-history.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/browser/components/smartwindow/content/page-history.mjs b/browser/components/smartwindow/content/page-history.mjs index 5fabc3970f6db..09c64a250e5bc 100644 --- a/browser/components/smartwindow/content/page-history.mjs +++ b/browser/components/smartwindow/content/page-history.mjs @@ -184,12 +184,9 @@ export class PageHistoryOverlay extends LitElement { render() { if (!this.isOpen) { - document.documentElement.removeAttribute("smart-window-history"); return html``; } - document.documentElement.setAttribute("smart-window-history", "true"); - return html`
e.stopPropagation()}>