Skip to content

Commit 8e798eb

Browse files
GiteaBotHesterG
andauthored
Fix fullscreen for action (#25200) (#25207)
Backport #25200 by @HesterG An error occurs when clicking on `show full screen` on action page. <img width="1440" alt="Screen Shot 2023-06-12 at 13 06 52" src="https://github.com/go-gitea/gitea/assets/17645053/1d4ded3c-fb77-4dd8-9201-24d0696f96eb"> class name has changed in #25134, so the selector is not working. Enhance the selectors to fix this. Co-authored-by: HesterG <[email protected]>
1 parent 0ad5ae0 commit 8e798eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/RepoActionView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ const sfc = {
415415
const fullScreenEl = document.querySelector('.action-view-right');
416416
const outerEl = document.querySelector('.full.height');
417417
const actionBodyEl = document.querySelector('.action-view-body');
418-
const headerEl = document.querySelector('.ui.main.menu');
418+
const headerEl = document.querySelector('#navbar');
419419
const contentEl = document.querySelector('.page-content.repository');
420420
const footerEl = document.querySelector('.page-footer');
421421
toggleElem(headerEl, !this.isFullScreen);

0 commit comments

Comments
 (0)