From 8db4677ddb7586557d32d25ba43e98f0f60ee2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 2 Apr 2023 18:10:55 +0200 Subject: [PATCH] update --- index.css | 8 +++----- index.js | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/index.css b/index.css index 9cb3a9a..975ce78 100644 --- a/index.css +++ b/index.css @@ -3,7 +3,6 @@ body { } #activeholder { - position: absolute; width: 100%; left: 0%; bottom: 0%; @@ -90,14 +89,13 @@ td { #vzoritem { bottom: 4%; left: 4%; - position: absolute; z-index: 2; - width: 25%; - height: 50%; + width: 20%; + height: 10%; object-fit: contain; } -#vzoritem>div{ +.itemholderak{ width: 100%; height: 100%; } diff --git a/index.js b/index.js index 8c1e55c..d2c1fc1 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ var cntdrag = 1; //missing Q, CH, DZ, DŽ, Ä, W, X let data_tabl = ["A", "Á", "B", "C", "Č", "D", "Ď", "E", "É", "F", "G", "H", "I", "Í", "J", "K", "L", "Ĺ", "Ľ", "M", "N", "Ň", "O", "Ó", "Ô", "P", "R", "Ŕ", "S", "Š", "T", "Ť", "U", "Ú", "V", "Y", "Ý", "Z", "Ž"]; -let tocount = 10; +let tocount = 7; let words = [ "DOM",