diff --git a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection.vue b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection.vue index f597903c2a7..d44feb30df4 100644 --- a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection.vue +++ b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection.vue @@ -8,9 +8,17 @@ @shouldFocusFirstEl="() => null" >
@@ -179,11 +187,7 @@ }, methods: { closeSidePanel() { - if (this.showSearch == true) { - this.$router.go(-1); - } else { - this.showSearch = true; - } + this.$router.go(-1); }, }, $trs: { @@ -223,4 +227,16 @@ width: 100%; } + .back-button-class { + display: flex; + align-items: center; + justify-content: space-between; + width: 6.5rem; + } + + .back-button-style { + position: relative; + top: 3.8px; + } + diff --git a/packages/kolibri-common/components/SidePanelModal/index.vue b/packages/kolibri-common/components/SidePanelModal/index.vue index 6dfd0da30cd..2fef4208c63 100644 --- a/packages/kolibri-common/components/SidePanelModal/index.vue +++ b/packages/kolibri-common/components/SidePanelModal/index.vue @@ -294,3 +294,4 @@ } +section