mirror of
https://github.com/mokuappio/serverless-invoices.git
synced 2025-10-27 16:01:07 -04:00
Language selector match styles with other links in the footer
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
<template>
|
||||
<b-dropdown v-if="selectedLang" variant="link" size="sm" no-caret right>
|
||||
<b-dropdown v-if="selectedLang" variant="link" size="sm" right no-caret custom-class="text-secondary">
|
||||
<template slot="button-content">
|
||||
{{ selectedLang.code }}
|
||||
<i class="material-icons">keyboard_arrow_down</i>
|
||||
<span class="text-secondary">
|
||||
<span class="text-uppercase">{{ selectedLang.code }}</span>
|
||||
<i class="material-icons md-18">expand_more</i>
|
||||
</span>
|
||||
</template>
|
||||
<template v-for="lang in languages" >
|
||||
<b-dropdown-item-button @click="langChanged(lang)" :key="lang.code">{{ lang.name }}</b-dropdown-item-button>
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
<template>
|
||||
<footer class="col-12 d-flex justify-content-between align-items-center text-secondary px-0 mt-3 d-print-none">
|
||||
<button class="btn btn-sm text-secondary" @click="toggleTheme">
|
||||
{{ theme === 'dark' ? $t('lights-on') : $t('lights-off') }}
|
||||
<i class="material-icons material-icons-round md-14 align-text-bottom ml-1">
|
||||
{{ theme === 'dark' ? 'wb_sunny' : 'brightness_2' }}
|
||||
</i>
|
||||
</button>
|
||||
<LanguageSwitcher/>
|
||||
<div>
|
||||
<LanguageSwitcher/>
|
||||
<button class="btn btn-sm text-secondary" @click="toggleTheme">
|
||||
{{ theme === 'dark' ? $t('lights-on') : $t('lights-off') }}
|
||||
<i class="material-icons material-icons-round md-14 align-text-bottom ml-1">
|
||||
{{ theme === 'dark' ? 'wb_sunny' : 'brightness_2' }}
|
||||
</i>
|
||||
</button>
|
||||
</div>
|
||||
<div>
|
||||
<small v-b-tooltip.hover
|
||||
:title="$t('title')"
|
||||
|
||||
Reference in New Issue
Block a user