mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-04 22:09:10 +00:00
Fixed issues with style on small windows (#29)
This commit is contained in:
@@ -36,14 +36,10 @@
|
|||||||
.mainContainer {
|
.mainContainer {
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
grid-template-columns: 100%;
|
grid-template-columns: 100%;
|
||||||
|
column-gap: 0;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
'mess'
|
'play'
|
||||||
'play';
|
'mess';
|
||||||
}
|
|
||||||
|
|
||||||
.messages,
|
|
||||||
.playback {
|
|
||||||
min-width: 31em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor,
|
.editor,
|
||||||
@@ -56,9 +52,10 @@
|
|||||||
/* 1/3 corner window, playback only */
|
/* 1/3 corner window, playback only */
|
||||||
@media (max-width: 900px) and (max-height: 500px) {
|
@media (max-width: 900px) and (max-height: 500px) {
|
||||||
.mainContainer {
|
.mainContainer {
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 100%;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 100%;
|
||||||
grid-template-areas: 'play';
|
grid-template-areas: 'play';
|
||||||
|
max-height: 325px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor,
|
.editor,
|
||||||
@@ -70,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.5vh;
|
font-size: 1.5em;
|
||||||
color: rgba(255, 255, 255, 0.63);
|
color: rgba(255, 255, 255, 0.63);
|
||||||
padding-bottom: 0.25em;
|
padding-bottom: 0.25em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ export default function StageManager(props) {
|
|||||||
|
|
||||||
let events = [...backstageEvents];
|
let events = [...backstageEvents];
|
||||||
|
|
||||||
|
console.log({ backstageEvents }, { events });
|
||||||
|
|
||||||
// Add running delay
|
// Add running delay
|
||||||
let delay = 0;
|
let delay = 0;
|
||||||
for (const e of events) {
|
for (const e of events) {
|
||||||
|
|||||||
+2
-2
@@ -92,8 +92,8 @@ function createWindow() {
|
|||||||
win = new BrowserWindow({
|
win = new BrowserWindow({
|
||||||
width: 1920,
|
width: 1920,
|
||||||
height: 1000,
|
height: 1000,
|
||||||
minWidth: 500,
|
minWidth: 575,
|
||||||
minHeight: 530,
|
minHeight: 385,
|
||||||
maxWidth: 1920,
|
maxWidth: 1920,
|
||||||
maxHeight: 1440,
|
maxHeight: 1440,
|
||||||
backgroundColor: '#202020',
|
backgroundColor: '#202020',
|
||||||
|
|||||||
Reference in New Issue
Block a user