summaryrefslogtreecommitdiff
path: root/src/client/ui/deck.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-04-20 23:22:59 +0900
committerGitHub <noreply@github.com>2021-04-20 23:22:59 +0900
commit11349561d697b11df7bcaa3d57ed3498eb4dd3c5 (patch)
tree8dfe96ed7c9b695872b7d416383920355621d3c3 /src/client/ui/deck.vue
parentTweak style (diff)
downloadmisskey-11349561d697b11df7bcaa3d57ed3498eb4dd3c5.tar.gz
misskey-11349561d697b11df7bcaa3d57ed3498eb4dd3c5.tar.bz2
misskey-11349561d697b11df7bcaa3d57ed3498eb4dd3c5.zip
Use FontAwesome as web font instead of vue component (#7469)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip
Diffstat (limited to 'src/client/ui/deck.vue')
-rw-r--r--src/client/ui/deck.vue9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/client/ui/deck.vue b/src/client/ui/deck.vue
index 0429dbc9b1..935445a54d 100644
--- a/src/client/ui/deck.vue
+++ b/src/client/ui/deck.vue
@@ -22,8 +22,8 @@
/>
</template>
- <button v-if="$i" class="nav _button" @click="showNav()"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button>
- <button v-if="$i" class="post _buttonPrimary" @click="post()"><Fa :icon="faPencilAlt"/></button>
+ <button v-if="$i" class="nav _button" @click="showNav()"><i class="fas fa-bars"></i><span v-if="navIndicated" class="indicator"><i class="fas fa-circle"></i></span></button>
+ <button v-if="$i" class="post _buttonPrimary" @click="post()"><i class="fas fa-pencil-alt"></i></button>
<XCommon/>
</div>
@@ -31,8 +31,6 @@
<script lang="ts">
import { defineComponent } from 'vue';
-import { faPlus, faPencilAlt, faChevronLeft, faBars, faCircle } from '@fortawesome/free-solid-svg-icons';
-import { } from '@fortawesome/free-regular-svg-icons';
import { v4 as uuid } from 'uuid';
import { host } from '@client/config';
import DeckColumnCore from '@client/ui/deck/column-core.vue';
@@ -64,7 +62,6 @@ export default defineComponent({
host: host,
menuDef: sidebarDef,
wallpaper: localStorage.getItem('wallpaper') != null,
- faPlus, faPencilAlt, faChevronLeft, faBars, faCircle
};
},
@@ -219,7 +216,7 @@ export default defineComponent({
background: var(--X2);
}
- > i {
+ > .indicator {
position: absolute;
top: 0;
left: 0;