added gh logo, added .svg-icon.inline
This commit is contained in:
parent
3fdd6c04c7
commit
ffecde73da
2 changed files with 8 additions and 2 deletions
|
@ -1222,6 +1222,10 @@
|
||||||
height: 18px;
|
height: 18px;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
background: var(--color);
|
background: var(--color);
|
||||||
|
|
||||||
|
&.inline {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-icon {
|
.sidebar-icon {
|
||||||
|
|
|
@ -36,7 +36,9 @@
|
||||||
<div class="col nopadding flex-center">
|
<div class="col nopadding flex-center">
|
||||||
<div>
|
<div>
|
||||||
<h3 class="repo-preview-name">{{ openRepo.description }}</h3>
|
<h3 class="repo-preview-name">{{ openRepo.description }}</h3>
|
||||||
<div><a class="repo-url" target="_blank" :href="openRepo.html_url">{{ openRepo.full_name
|
<div>
|
||||||
|
<div class="svg-icon inline" :style="{'--url': 'url(\'./assets/github.svg\')'}"></div>
|
||||||
|
<a class="repo-url" target="_blank" :href="openRepo.html_url">{{ openRepo.full_name
|
||||||
}}</a></div>
|
}}</a></div>
|
||||||
<div>⭐ {{ openRepo.stargazers_count }}</div>
|
<div>⭐ {{ openRepo.stargazers_count }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue