aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorHesterG <hestergong@gmail.com>2023-06-12 18:18:01 +0800
committerGitHub <noreply@github.com>2023-06-12 10:18:01 +0000
commit3318001880845880acbb52049ffb8e65c845ae29 (patch)
tree1a9ab8116d894f700541129d0ef7d2233b1713d2 /web_src
parent06557a75db50b9faf8e253b2a284e79bd20b5fb3 (diff)
downloadgitea-3318001880845880acbb52049ffb8e65c845ae29.tar.gz
gitea-3318001880845880acbb52049ffb8e65c845ae29.zip
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.
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/components/RepoActionView.vue2
1 files changed, 1 insertions, 1 deletions
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);