Skip to content

Commit 3318001

Browse files
authored
Fix fullscreen for action (#25200)
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.
1 parent 06557a7 commit 3318001

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)