Skip to content

Commit

Permalink
Avoid snapshot changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Aug 30, 2024
1 parent da176fd commit 2d5fea3
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions frontend/src/components/VFooter/VFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,23 @@ export default defineComponent({

<!-- Locale chooser and WordPress affiliation graphic -->
<div class="locale-and-wp flex flex-col justify-between">
<VWordPressLink v-if="showThemeSwitcher" />
<div class="flex flex-row items-center gap-6">
<template v-if="showThemeSwitcher">
<VWordPressLink mode="light" />
<div class="flex flex-row items-center gap-6">
<VLanguageSelect
v-bind="languageProps"
class="language max-w-full border-secondary"
/>
<VThemeSelect class="border-secondary" />
</div>
</template>
<template v-else>
<VLanguageSelect
v-bind="languageProps"
class="language max-w-full border-secondary"
class="language max-w-[12.5rem] border-secondary"
/>
<VThemeSelect v-if="showThemeSwitcher" class="border-secondary" />
</div>
<VWordPressLink v-if="!showThemeSwitcher" mode="light" />
<VWordPressLink mode="light" />
</template>
</div>
</footer>
</template>
Expand Down

0 comments on commit 2d5fea3

Please sign in to comment.