more replacements + small renames
This commit is contained in:
parent
b19c2eb0fb
commit
3cbaa00449
18 changed files with 106 additions and 59 deletions
|
@ -1,5 +1,6 @@
|
|||
import Vue from 'vue'
|
||||
import { mapState } from 'vuex'
|
||||
import { FontAwesomeIcon as FAIcon } from '@fortawesome/vue-fontawesome'
|
||||
|
||||
import './tab_switcher.scss'
|
||||
|
||||
|
@ -107,7 +108,7 @@ export default Vue.component('tab-switcher', {
|
|||
class={classesTab.join(' ')}
|
||||
type="button"
|
||||
>
|
||||
{!slot.data.attrs.icon ? '' : (<i class={'tab-icon icon-' + slot.data.attrs.icon}/>)}
|
||||
{!slot.data.attrs.icon ? '' : (<FAIcon class="tab-icon" size="2x" fixed-width icon={slot.data.attrs.icon}/>)}
|
||||
<span class="text">
|
||||
{slot.data.attrs.label}
|
||||
</span>
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
display: flex;
|
||||
|
||||
.tab-icon {
|
||||
font-size: 2em;
|
||||
width: 100%;
|
||||
margin: 0.2em 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue