From 4a2a614882b94803be37b660f4686cc9d518b307 Mon Sep 17 00:00:00 2001
From: Ron Lucke <lucke@elan-ev.de>
Date: Mon, 18 Sep 2023 14:29:03 +0000
Subject: [PATCH] fix #2676

Closes #2676

Merge request studip/studip!1834
---
 resources/assets/stylesheets/scss/courseware.scss             | 1 +
 .../vue/components/courseware/CoursewareGalleryBlock.vue      | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/resources/assets/stylesheets/scss/courseware.scss b/resources/assets/stylesheets/scss/courseware.scss
index 891932de6ac..b4aa20cb955 100644
--- a/resources/assets/stylesheets/scss/courseware.scss
+++ b/resources/assets/stylesheets/scss/courseware.scss
@@ -3603,6 +3603,7 @@ g a l l e r y  b l o c k
     margin-top: -22px;
     transition: 200ms ease;
     user-select: none;
+    border: none;
 
     &:hover {
         background-color: $base-color;
diff --git a/resources/vue/components/courseware/CoursewareGalleryBlock.vue b/resources/vue/components/courseware/CoursewareGalleryBlock.vue
index f6d41ab74e0..2a8b29bef3c 100644
--- a/resources/vue/components/courseware/CoursewareGalleryBlock.vue
+++ b/resources/vue/components/courseware/CoursewareGalleryBlock.vue
@@ -33,8 +33,8 @@
                         </div>
                     </div>
                     <div v-if="currentNav === 'true'">
-                        <a class="cw-block-gallery-prev" @click="plusSlides(-1)"></a>
-                        <a class="cw-block-gallery-next" @click="plusSlides(1)"></a>
+                        <button class="cw-block-gallery-prev" :title="$gettext('Vorheriges Bild')" @click="plusSlides(-1)"></button>
+                        <button class="cw-block-gallery-next" :title="$gettext('Nächstes Bild')" @click="plusSlides(1)"></button>
                     </div>
                 </div>
             </template>
-- 
GitLab