mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-15 20:58:01 +00:00
* feat: add copy track link * fix: various visual defects * feat: add track low res fallback * chore: remove redundant locale strings * chore: separate playbackState for a new PR * build: fix netlify failing to build site
35 lines
561 B
Vue
35 lines
561 B
Vue
<template>
|
|
<svg-icon icon-class="explicit" :style="svgStyle"></svg-icon>
|
|
</template>
|
|
|
|
<script>
|
|
import SvgIcon from '@/components/SvgIcon.vue';
|
|
|
|
export default {
|
|
name: 'ExplicitSymbol',
|
|
components: {
|
|
SvgIcon,
|
|
},
|
|
props: {
|
|
size: {
|
|
type: Number,
|
|
default: 16,
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
svgStyle: {},
|
|
};
|
|
},
|
|
created() {
|
|
this.svgStyle = {
|
|
height: this.size + 'px',
|
|
width: this.size + 'px',
|
|
position: 'relative',
|
|
left: '-1px',
|
|
};
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|