Browse Source

* Pong canvas fixed for big screens and horizontally aligned

master
vvandenb 2 years ago
parent
commit
a9c87e8873
  1. 6
      front/volume/src/components/Pong/GameComponent.svelte

6
front/volume/src/components/Pong/GameComponent.svelte

@ -49,8 +49,14 @@
} }
.renderCanvas { .renderCanvas {
max-width: 1000px;
width: 100%; width: 100%;
height: auto; height: auto;
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
touch-action: none; touch-action: none;
} }
</style> </style>

Loading…
Cancel
Save