From 11955e740ccf689644fbb675a79a7389d98c3f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 27 Apr 2024 11:33:04 +0200 Subject: [PATCH] Update meme voting --- assets/style.css | 9 ++------- templates/meme.html | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/assets/style.css b/assets/style.css index 2ff5b9f..ad487b6 100644 --- a/assets/style.css +++ b/assets/style.css @@ -356,17 +356,12 @@ div#articleslist>article{ height: auto; } -.meme_info { +.meme_info, .meme_topbar { display: flex; flex-direction: row; } -.meme { - display: flex; - flex-direction: column; -} - -.meme_body { +.meme, .meme_body { display: flex; flex-direction: column; } diff --git a/templates/meme.html b/templates/meme.html index 39d66d7..2024e0d 100644 --- a/templates/meme.html +++ b/templates/meme.html @@ -1,19 +1,25 @@

__TEMPLATE_MEME_TITLE__

-
+
- __TEMPLATE_MEME_UPVOTE__ -

__TEMPLATE_MEME_VOTES_NUMBER__

- __TEMPLATE_MEME_DOWNVOTE__ + __TEMPLATE_MEME_UPVOTE__ +

__TEMPLATE_MEME_VOTES_NUMBER__

+ __TEMPLATE_MEME_DOWNVOTE__ +
+
+

__TEMPLATE_MEME_AUTHOR__ +

+ __TEMPLATE_MEME_DELETE_BUTTON__ +

__TEMPLATE_MEME_DATE__ +

-

__TEMPLATE_MEME_AUTHOR__

- __TEMPLATE_MEME_DELETE_BUTTON__ -

__TEMPLATE_MEME_DATE__

- meme image + meme image

__TEMPLATE_MEME_TEXT__

\ No newline at end of file