aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-03-16 11:16:31 +0000
committerMario <mario@mariovavti.com>2025-03-16 11:16:31 +0000
commit00b3039b6e582da594b4fa6abfe2f7e6a8b12ef0 (patch)
tree8ea4c81ace27a1096dfdb51c91a16860d09b07e5
parentbcfdb73001c4b5866f10763ab420cd1d12bdee44 (diff)
parent2695094d16f8df6ee6b671273688fad427f286ba (diff)
downloadvolse-hubzilla-00b3039b6e582da594b4fa6abfe2f7e6a8b12ef0.tar.gz
volse-hubzilla-00b3039b6e582da594b4fa6abfe2f7e6a8b12ef0.tar.bz2
volse-hubzilla-00b3039b6e582da594b4fa6abfe2f7e6a8b12ef0.zip
Merge branch 'dev' into 10.2RC
-rw-r--r--view/theme/redbasic/css/style.css14
-rw-r--r--view/theme/redbasic/js/redbasic.js8
2 files changed, 11 insertions, 11 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 85f5939f8..97fe40c9c 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1252,17 +1252,23 @@ a .drop-icons:hover {
}
main.fullscreen {
+ position: fixed;
+ top: 0px;
left: 0px;
- width: 100%;
+ width: 100vw;
height: 100vh;
- max-width: none;
+ z-index: 1020;
+ overflow: auto;
}
main.fullscreen .generic-content-wrapper {
- position: absolute;
- width: 100%;
+ position: fixed;
top: 0px;
left: 0px;
+ width: 100vw;
+ height: 100vh;
+ z-index: 1020;
+ overflow: auto;
border-radius: 0px;
border-width: 0px;
}
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 9336b7866..0a2ab7f13 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -246,16 +246,10 @@ function stickyScroll(sticky, stickyTop, container, topOffset, bottomOffset) {
function makeFullScreen(full) {
if (typeof full === 'undefined' || full === true) {
document.querySelector('main').classList.add('fullscreen');
- document.querySelector('header').style.display = 'none';
- document.querySelector('nav').style.display = 'none';
- document.querySelector('aside').style.display = 'none';
document.getElementById('fullscreen-btn').style.display = 'none';
- document.getElementById('inline-btn').style.display = 'block';
+ document.getElementById('inline-btn').style.display = 'inline-block';
} else {
document.querySelector('main').classList.remove('fullscreen');
- document.querySelector('header').style.display = '';
- document.querySelector('nav').style.display = '';
- document.querySelector('aside').style.display = '';
document.getElementById('fullscreen-btn').style.display = '';
document.getElementById('inline-btn').style.display = 'none';
}