Skip to content

Commit

Permalink
changed touchscreen css
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-adriansens authored Jan 15, 2024
1 parent 3d7334a commit e77dc97
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions src/style-touchScreen.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,25 @@
display: none;
}

/* touchscreen enabled */

@media (orientation: portrait) {

.right.column,
.left.column {
display: none;
}

.main_layout {
display: flex;
justify-content: center;
}

canvas {
width: 100%;
}

}

.touch_enabled .touchscreen * {
pointer-events: all;
Expand All @@ -79,20 +98,6 @@
opacity: 1;
}

.touch_enabled .right.column,
.touch_enabled .left.column {
display: none;
}

.touch_enabled .main_layout {
display: flex;
justify-content: center;
}

.touch_enabled h2.startText {
display: none;
}

.touch_enabled canvas {
width: 100%;
}

0 comments on commit e77dc97

Please sign in to comment.