From c9d62ecaea59adcac4ce5a9fcf4926e9e704c786 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 16 May 2024 10:12:23 +0200 Subject: [PATCH] Edit meme creation --- assets/script.js | 1 + assets/style.css | 4 ++-- templates/newsArticles.html | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) 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 @@


-
-
- + + +