[WIP] Use FontAwesome Component for Vue (#3127)
* wip * Rename * Clean up * Clean up * wip * wip * Enable tree shaking * ✌️ * ✌️ * wip * wip * Clean up
This commit is contained in:
parent
e640dbc501
commit
9f5dc2c0df
190 changed files with 924 additions and 865 deletions
|
|
@ -12,10 +12,10 @@
|
|||
<span class="separator"></span>
|
||||
<span class="data-size">{{ file.datasize | bytes }}</span>
|
||||
<span class="separator"></span>
|
||||
<span class="created-at">%fa:R clock%<mk-time :time="file.createdAt"/></span>
|
||||
<span class="created-at"><fa :icon="['far', 'clock']"/><mk-time :time="file.createdAt"/></span>
|
||||
<template v-if="file.isSensitive">
|
||||
<span class="separator"></span>
|
||||
<span class="nsfw">%fa:eye-slash% %i18n:@nsfw%</span>
|
||||
<span class="nsfw"><fa icon="eye-slash"/> %i18n:@nsfw%</span>
|
||||
</template>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
@ -142,7 +142,7 @@ export default Vue.extend({
|
|||
> .created-at
|
||||
opacity 0.7
|
||||
|
||||
> [data-fa]
|
||||
> [data-icon]
|
||||
margin-right 2px
|
||||
|
||||
> .nsfw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue