From 09ff3370dd8b52aba6bfa881e46d3871226e00a2 Mon Sep 17 00:00:00 2001 From: Arindy Date: Mon, 10 Feb 2025 16:38:29 +0100 Subject: [PATCH] adds a dice preview --- src/main/resources/templates/pub/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/resources/templates/pub/index.html b/src/main/resources/templates/pub/index.html index 9fef7d7..8f7c109 100644 --- a/src/main/resources/templates/pub/index.html +++ b/src/main/resources/templates/pub/index.html @@ -107,6 +107,21 @@ color:#fff !important; background-color:#333333dd !important } + + #dice-box { + position: relative; + box-sizing: border-box; + width: 100%; + height: 100%; + background: transparent; + background-size: cover; + } + + #dice-box canvas { + width: 100%; + height: 100%; + margin: 20px + }