From 87e5096f5d0bca34f6098189edc7b6259e4e8902 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 13 Sep 2023 10:39:32 +0530 Subject: [PATCH] fix: course card edit and delete button position --- lms/public/css/style.css | 9 +++++++++ lms/www/batches/batch_details.html | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lms/public/css/style.css b/lms/public/css/style.css index c8105e46..e414f449 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -2343,4 +2343,13 @@ select { .embed-tool__caption { display: none; +} + +.card-buttons { + display: flex; + position: relative; + top: 10%; + left: 80%; + z-index: 10; + width: fit-content; } \ No newline at end of file diff --git a/lms/www/batches/batch_details.html b/lms/www/batches/batch_details.html index 1787a2da..5ed9fe76 100644 --- a/lms/www/batches/batch_details.html +++ b/lms/www/batches/batch_details.html @@ -186,9 +186,8 @@
{% for course in courses %}
- {{ widgets.CourseCard(course=course, read_only=False) }} {% if is_moderator %} -
+
{% endif %} + {{ widgets.CourseCard(course=course, read_only=False) }}
{% endfor %}