Skip to content
Snippets Groups Projects
Commit cbc61ba0 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏) Committed by syuilo
Browse files

Add GIF badge (#4241)

parent 5aa58da9
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,9 @@
:style="style"
:title="image.name"
@click.prevent="onClick"
></a>
>
<div v-if="image.type === 'image/gif'">GIF</div>
</a>
</template>
<script lang="ts">
......@@ -76,6 +78,23 @@ export default Vue.extend({
background-size contain
background-repeat no-repeat
> div
background-color var(--text)
border-radius var(--round)
color var(--secondary)
display inline-block
font-size 14px
font-weight 900
height 24px
left calc(var(--round) * 2)
line-height 1
opacity .5
padding 5px 0
text-align center
top calc(var(--round) * 2)
vertical-align middle
width 36px
.qjewsnkgzzxlxtzncydssfbgjibiehcy
display flex
justify-content center
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment