1
mirror of https://github.com/interstellar750/hexo_s synced 2024-06-01 12:07:21 +08:00

component: 🎨 css style

This commit is contained in:
Hubert 2023-02-28 20:35:05 +08:00
parent 4aeedfb50c
commit 435c7fea89
Signed by: trle5
GPG Key ID: 2935B4DE0D6F7720
2 changed files with 2 additions and 9 deletions

View File

@ -40,7 +40,7 @@
</div>
{#if friend.social}
<div class="prose opacity-70 p-note"> {friend.descr ?? ''}
<img class="{friend.social} rounded-full w-6" align="right" alt=""/>
<img class="{friend.social} rounded-full w-6" style="float: right" alt=""/>
</div>
{:else}
<div class="prose opacity-70 p-note"> {friend.descr ?? ''}

View File

@ -10,14 +10,7 @@
<div class="card-title flex-initial pr-4">
<img class="w-24 h-auto mt-auto ml-auto mb-auto rounded-box" alt="album_cover" src={cover}/>
</div>
<span class="mb-auto !text-4xl font-medium">
<style scoped>
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<span class="mb-auto !text-4xl font-medium" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
<a rel="noopener noreferrer external" target="_blank" class="ml-4 no-underline font-semibold" href={link}>
{title}
</a>