mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 10:23:54 +00:00
refactor: show schedule in smaller screens
This commit is contained in:
committed by
Carlos Valente
parent
b6507c27a6
commit
6c3ae1f914
@@ -92,7 +92,7 @@ export default function Backstage(props: BackstageProps) {
|
||||
// gather presentation styles
|
||||
const qrSize = Math.max(window.innerWidth / 15, 72);
|
||||
const showProgress = getShowProgressBar(time.playback);
|
||||
const showSchedule = hasEvents && screenHeight > 700; // in vertical screens we may not have space
|
||||
const showSchedule = hasEvents && screenHeight > 420; // in vertical screens we may not have space
|
||||
|
||||
// gather option data
|
||||
const defaultFormat = getDefaultFormat(settings?.timeFormat);
|
||||
|
||||
Reference in New Issue
Block a user