From 8589aae749a6e73256ed5898e7f113984d0975c4 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Tue, 24 Nov 2020 21:26:34 -0800 Subject: [PATCH] make border less monstruous --- tarot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarot.js b/tarot.js index 8fcf943..3962234 100644 --- a/tarot.js +++ b/tarot.js @@ -107,7 +107,7 @@ function tableRender(tarot, table) { function deckRender(deck) { return function(elem) { - const width = deck.size; + const width = deck.size / 5; elem.setAttribute("style", `float:left; height: 250px; width: 150px; border-left: 1px solid white; border-top: 1px solid white; border-bottom: ${width}px solid white; border-right: ${width}px solid white`); } }