Skip to content

Commit

Permalink
Fixed issues with style on small windows (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Nov 4, 2021
1 parent 3d2a79f commit f6edb88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
17 changes: 7 additions & 10 deletions client/src/features/editors/Editor.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,10 @@
.mainContainer {
grid-template-rows: auto 1fr;
grid-template-columns: 100%;
column-gap: 0;
grid-template-areas:
'mess'
'play';
}

.messages,
.playback {
min-width: 31em;
'play'
'mess';
}

.editor,
Expand All @@ -56,9 +52,10 @@
/* 1/3 corner window, playback only */
@media (max-width: 900px) and (max-height: 500px) {
.mainContainer {
grid-template-rows: 1fr;
grid-template-columns: 1fr;
grid-template-rows: 100%;
grid-template-columns: 100%;
grid-template-areas: 'play';
max-height: 325px;
}

.editor,
Expand All @@ -70,7 +67,7 @@
}

h1 {
font-size: 2.5vh;
font-size: 1.5em;
color: rgba(255, 255, 255, 0.63);
padding-bottom: 0.25em;
}
Expand Down
2 changes: 2 additions & 0 deletions client/src/features/viewers/backstage/StageManager.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export default function StageManager(props) {

let events = [...backstageEvents];

console.log({ backstageEvents }, { events });

// Add running delay
let delay = 0;
for (const e of events) {
Expand Down
4 changes: 2 additions & 2 deletions server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ function createWindow() {
win = new BrowserWindow({
width: 1920,
height: 1000,
minWidth: 500,
minHeight: 530,
minWidth: 575,
minHeight: 385,
maxWidth: 1920,
maxHeight: 1440,
backgroundColor: '#202020',
Expand Down

0 comments on commit f6edb88

Please sign in to comment.