Skip to content

Commit af92b1e

Browse files
committed
refactor(Aside): b-tab title with icon issue
1 parent aebc5b8 commit af92b1e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Diff for: Vue_Full_Project/src/components/Aside.vue

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<template>
22
<aside class="aside-menu">
33
<b-tabs>
4-
<b-tab title="<i class='icon-list'></i>">
4+
<b-tab>
5+
<template slot="title">
6+
<i class='icon-list'></i>
7+
</template>
58
<Callout class="m-0 py-2 text-muted text-center bg-light text-uppercase">
69
<small><b>Today</b></small>
710
</Callout>
@@ -87,7 +90,10 @@
8790
</Callout>
8891
<hr class="mx-3 my-0">
8992
</b-tab>
90-
<b-tab title="<i class='icon-speech'></i>">
93+
<b-tab>
94+
<template slot="title">
95+
<i class='icon-speech'></i>
96+
</template>
9197
<div class="p-3">
9298
<div class="message">
9399
<div class="py-3 pb-5 mr-3 float-left">
@@ -165,7 +171,10 @@
165171
</div>
166172
</div>
167173
</b-tab>
168-
<b-tab title="<i class='icon-settings'></i>">
174+
<b-tab>
175+
<template slot="title">
176+
<i class='icon-settings'></i>
177+
</template>
169178
<div class="p-3">
170179
<h6>Settings</h6>
171180
<div class="aside-options">

0 commit comments

Comments
 (0)