Some fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
function adaptHeight() {
|
||||
const tabsEl = document.getElementById('event-nav');
|
||||
const scoreboardContainerEl = document.getElementById('scoreboard-container');
|
||||
scoreboardContainerEl.style.height = `calc(100vh - ${180 + tabsEl.offsetHeight}px)`;
|
||||
scoreboardContainerEl.style.height = `calc(100vh - ${210 + tabsEl.offsetHeight}px)`;
|
||||
}
|
||||
|
||||
adaptHeight();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
css:
|
||||
@media (max-width: 800px) {
|
||||
.mobile-single { display: block !important; }
|
||||
#qrcode { display: none; }
|
||||
.desktop-single { display: none; }
|
||||
#scoreboard-switches { display: none; }
|
||||
.stopwatch { font-size: 50px !important; }
|
||||
|
||||
@@ -49,7 +49,7 @@ html
|
||||
- if active_page("/public/event/") == "active"
|
||||
= @contest.event.name
|
||||
- if @qrcode
|
||||
.float-end style="width: 80px; height: 80px;"
|
||||
.float-end style="width: 80px; height: 80px;" id="qrcode"
|
||||
= @qrcode.html_safe
|
||||
= render "event_nav"
|
||||
- else
|
||||
|
||||
Reference in New Issue
Block a user