From 8e798ebbdfa5583eecd916f8d669ae4ba4093c83 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 12 Jun 2023 11:41:13 -0400 Subject: [PATCH] Fix fullscreen for action (#25200) (#25207) Backport #25200 by @HesterG An error occurs when clicking on `show full screen` on action page. Screen Shot 2023-06-12 at 13 06 52 class name has changed in #25134, so the selector is not working. Enhance the selectors to fix this. Co-authored-by: HesterG --- web_src/js/components/RepoActionView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index ca6319355c..ebc78b049b 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -415,7 +415,7 @@ const sfc = { const fullScreenEl = document.querySelector('.action-view-right'); const outerEl = document.querySelector('.full.height'); const actionBodyEl = document.querySelector('.action-view-body'); - const headerEl = document.querySelector('.ui.main.menu'); + const headerEl = document.querySelector('#navbar'); const contentEl = document.querySelector('.page-content.repository'); const footerEl = document.querySelector('.page-footer'); toggleElem(headerEl, !this.isFullScreen);