render-canvas.less
render-canvas {
width: 100%;
height: 100%;
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
overflow: hidden;
}
render-canvas canvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 1px solid #c2c2c2;
background-color: white;
}
@media (prefers-color-scheme: dark) {
render-canvas canvas {
background-color: #2c2c2c;
border-color: #3a3a3a;
}
}