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",