v1.0.0: 구조 클래스 중복 스타일 최종 정리
Made-with: Cursor
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{{#if recommendations}}
|
||||
<ul class="flex flex-col gap-1 rounded-theme overflow-hidden" data-recommendations="">
|
||||
<ul class="flex flex-col gap-1 overflow-hidden" data-recommendations="">
|
||||
{{#each recommendations as |rec|}}
|
||||
<li>
|
||||
<a class="py-1 text-[0.8rem] leading-tight flex items-center gap-2 hover:opacity-75" href="{{rec.url}}" data-recommendation="{{rec.id}}" target="_blank" rel="noopener">
|
||||
{{#if rec.favicon}}
|
||||
<img class="w-[18px] h-[18px] rounded-[8px] aspect-square object-cover" src="{{rec.favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
|
||||
<img class="w-[18px] h-[18px] rounded-[4px] aspect-square object-cover" src="{{rec.favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
|
||||
{{/if}}
|
||||
<h3 class="font-medium line-clamp-1 text-ellipsis overflow-hidden" title="{{rec.title}}">{{rec.title}}</h3>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user