File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1414 </span >
1515 </div >
1616
17- <Transition v-if =" ! isMobile && !loading" >
17+ <Transition v-if =" isMobile && !loading" >
1818 <div v-if =" description == null" class =" logo-container" >
1919 <Logo mobile />
2020 </div >
2626 target =" _blank"
2727 rel =" noopener"
2828 aria-description =" Link to GitHub Source"
29- >
30- <img class =" github" alt =" " :src =" githubLogo" />
31- </a >
29+ v-html =" githubLogo"
30+ />
3231 </div >
3332 </div >
3433</template >
3534
3635<script vapor setup lang="ts">
3736import { ref , watch } from " vue"
3837
39- import githubLogo from " ../assets/github.svg"
38+ import githubLogo from " ../assets/github.svg?raw "
4039
4140import Logo from " ./logo.vue"
4241
5655 (newVal , oldVar ) => {
5756 if (newVal === oldVar ) return
5857
59- height .value = Math .max (desc$ .value ! .getBoundingClientRect ().height + 30 , 125 )
58+ height .value = Math .max (desc$ .value ! .getBoundingClientRect ().height + 35 , 125 )
6059 },
61- {flush: " post" }
60+ { flush: " post" },
6261)
6362 </script >
6463
@@ -149,6 +148,7 @@ watch(
149148 background : theme .$button ;
150149 border-radius : 100% ;
151150 cursor : pointer ;
151+ color : #eee ;
152152
153153 & > img {
154154 height : 100% ;
You can’t perform that action at this time.
0 commit comments