diff --git a/assets/script.js b/assets/script.js index b6fc067..c6a0022 100644 --- a/assets/script.js +++ b/assets/script.js @@ -620,6 +620,7 @@ async function addMeme() { meme_image_id: memeImageElement.value }, "Meme bol zmazaný", "Nastala chyba pri mazaní meme-u", false); memeFormElement.reset(); + await togglememecreate(); } async function deleteMeme(memeId) { diff --git a/assets/style.css b/assets/style.css index e1f2d5c..3d7af6b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -316,10 +316,10 @@ span#ye-span:hover + body{ align-items: center; justify-content: center; position: fixed; - top: 0; + top: 15vh; left: 0; width: 100vw; - height: 100vh; + height: 70vh; z-index: 4; backdrop-filter: blur(2px); } diff --git a/templates/newsArticles.html b/templates/newsArticles.html index 81b750e..a92cc92 100644 --- a/templates/newsArticles.html +++ b/templates/newsArticles.html @@ -16,9 +16,9 @@


-
-
- + + +