diff --git a/resources/assets/stylesheets/scss/courseware.scss b/resources/assets/stylesheets/scss/courseware.scss index 4584acd03208dfb4f20fe821528de0020a686c94..984bb7c5ff474aa23262d664c78049b7349689a0 100644 --- a/resources/assets/stylesheets/scss/courseware.scss +++ b/resources/assets/stylesheets/scss/courseware.scss @@ -2667,6 +2667,13 @@ m a n a g e r padding: 0.25em 0 0.5em 0; font-size: 1.6em; font-weight: 700; + + button.cw-insert-element { + background: transparent; + border: none; + cursor: pointer; + padding: 0; + } } } .cw-manager-element-containers { diff --git a/resources/vue/components/courseware/CoursewareManagerElement.vue b/resources/vue/components/courseware/CoursewareManagerElement.vue index 3e8a460b12755c4a23a29780de156e46c1e645c4..2bd892c2ed59125230c81ece2b761e3820d96916 100644 --- a/resources/vue/components/courseware/CoursewareManagerElement.vue +++ b/resources/vue/components/courseware/CoursewareManagerElement.vue @@ -17,14 +17,13 @@ </a> </nav> <header> - <a + <button class="cw-insert-element" v-if="elementInserterActive && moveSelfPossible && canEdit" - href="#" :title="elementTitle" @click="insertElement({element: currentElement, source: type})" > <studip-icon shape="arr_2left" size="24" role="clickable" /> - </a> + </button> {{ elementName }} </header> </div>