Files
ImmortalClanVue/src/components/TokenLogo.vue
T
2023-10-05 21:23:59 +02:00

26 lines
434 B
Vue

<template>
<div class="token-logo">
<img :src="props.img" :alt="props.alt" />
</div>
</template>
<script setup>
const props = defineProps({
img: String,
alt: Number,
});
</script>
<style lang="sass">
.token-logo
height: 100%
img
width: 45px
height: 45px
border-radius: 50%
pointer-events: none
@media (min-width: 992px)
width: auto
height: 100%
</style>