Commit 237be58 1 parent 9d42ea3 commit 237be58 Copy full SHA for 237be58
File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 9
9
target =" _blank"
10
10
>
11
11
<v-icon :size =" 24" class =" ci-logo" >
12
- <SvgIcon name =" logo-cilogo" />
12
+ <SvgIcon name =" logo-cilogo" size = " 24px " />
13
13
</v-icon >
14
14
</a >
15
15
@@ -69,19 +69,15 @@ const items = [
69
69
</script >
70
70
71
71
<style scoped lang="sass">
72
- .ci-logo svg {
73
- height : 24px !important ;
74
- }
75
72
76
- .social-link :deep(.v-icon ) {
73
+ .social-link :deep(.v-icon )
77
74
color : rgba(var(-- v- theme- on- background), var(-- v- disabled- opacity))
78
75
text-decoration : none
79
76
transition : .2s ease-in-out
80
77
81
- & :hover {
78
+ & :hover
82
79
color : rgba(25 , 118 , 210 , 1 )
83
- }
84
- }
80
+
85
81
86
82
87
83
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <svg aria-hidden =" true" >
2
+ <svg aria-hidden =" true" :style = " { width: size, height: size } " >
3
3
<use :href =" symbolId" :fill =" color" />
4
4
</svg >
5
5
</template >
@@ -22,6 +22,10 @@ export default defineComponent({
22
22
type: String ,
23
23
default: ' #333' ,
24
24
},
25
+ size: {
26
+ type: [String , Number ],
27
+ default: ' 12px' ,
28
+ },
25
29
},
26
30
setup (props ) {
27
31
const symbolId = computed (() => ` #${ props .prefix } -${ props .name } ` )
You can’t perform that action at this time.
0 commit comments