Skip to content

Commit b56ba92

Browse files
committed
Only show footer if footer. Only limit width on mobile.
1 parent e3b02fc commit b56ba92

File tree

1 file changed

+2
-3
lines changed
  • kolibri/core/assets/src/views/language-switcher

1 file changed

+2
-3
lines changed

kolibri/core/assets/src/views/language-switcher/index.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22

33
<div>
4-
<div class="page-footer">
5-
<div class="lang-container">
4+
<div v-if="footer" class="page-footer">
5+
<div class="lang-container" :style="isMobile ? { width: '40%' } : {}">
66
<p class="prompt" v-if="!isMobile">{{ $tr('changeLanguagePrompt') }}</p>
77
<p v-for="language in footerLanguageOptions" :class="selectedLanguage.code===language.code ? 'selected' : 'choice'" @click="setAndSwitchLanguage(language)">
88
{{ language.name }}
@@ -156,7 +156,6 @@
156156
padding-bottom: 16px
157157
.lang-container
158158
display: inline-block
159-
width: 40%
160159
p
161160
float: left
162161
padding-left: 10px

0 commit comments

Comments
 (0)