Skip to content

Commit

Permalink
Use span tags to all icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBoriskin committed May 20, 2018
1 parent b806dce commit d2355e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/app-navbar/AppNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<vuestic-navbar>
<header-selector slot="selector" v-model="valueProxy"/>
<i slot="logo" class="i-vuestic"></i>
<span slot="logo" class="i-vuestic"></span>
<div slot="center" class="navbar-text offset-md-1 col-md-7 d-none d-lg-flex align-items-center justify-content-center">
{{$t('navbar.messageUs')}}&nbsp;<a href="mailto:[email protected]">[email protected]</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="header-selector-container"
<span class="header-selector-container"
:class="{ 'i-menu-expanded': !value, 'i-menu-collapsed': value }"
@click="onClick()"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div class="language-selector dropdown" v-dropdown.closeOnMenuClick>
<a class="language-selector-button dropdown-toggle" href="#">
<i class="flag-icon flag-icon-large" :class="flagIconClass(currentLanguage())"></i>
<span class="flag-icon flag-icon-large" :class="flagIconClass(currentLanguage())"></span>
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" :class="{ active: option.code === currentLanguage() }"
v-for="(option, id) in options" :key="id" @click="setLanguage(option.code)">
<i class="flag-icon flag-icon-small" :class="flagIconClass(option.code)"></i>
<span class="flag-icon flag-icon-small" :class="flagIconClass(option.code)"></span>
<span class="dropdown-item-text ellipsis">
{{ `language.${option.name}` | translate }}
</span>
Expand Down

0 comments on commit d2355e6

Please sign in to comment.