ui: remove external links, adjust spacing
This commit is contained in:
@@ -28,15 +28,7 @@
|
|||||||
|
|
||||||
{{template "watchlist_actions" dict "Anime" $anime "User" .User "Status" .Status}}
|
{{template "watchlist_actions" dict "Anime" $anime "User" .User "Status" .Status}}
|
||||||
|
|
||||||
<div class="mt-6 flex flex-wrap gap-3">
|
<div class="mt-4 space-y-4">
|
||||||
{{range $anime.External}}
|
|
||||||
<a href="{{.URL}}" target="_blank" rel="noopener" class="bg-white/5 hover:bg-white/10 border-white/10 rounded-md border px-3 py-1.5 text-xs font-medium text-neutral-300 transition-colors">
|
|
||||||
{{.Name}}
|
|
||||||
</a>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mt-8 space-y-4">
|
|
||||||
<div>
|
<div>
|
||||||
<h2 class="mb-2 text-lg font-medium text-neutral-300">Synopsis</h2>
|
<h2 class="mb-2 text-lg font-medium text-neutral-300">Synopsis</h2>
|
||||||
<p id="synopsis-container" class="text-foreground-muted max-w-4xl text-base leading-relaxed whitespace-pre-line line-clamp-5 md:line-clamp-none">
|
<p id="synopsis-container" class="text-foreground-muted max-w-4xl text-base leading-relaxed whitespace-pre-line line-clamp-5 md:line-clamp-none">
|
||||||
@@ -71,4 +63,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{{$user := .User}}
|
{{$user := .User}}
|
||||||
{{$status := .Status}}
|
{{$status := .Status}}
|
||||||
|
|
||||||
<div class="mb-4 flex gap-2">
|
<div class="flex gap-2">
|
||||||
<ui-dropdown class="relative block" data-align="left" data-width="min-w-[160px]">
|
<ui-dropdown class="relative block" data-align="left" data-width="min-w-[160px]">
|
||||||
<div data-trigger class="cursor-pointer">
|
<div data-trigger class="cursor-pointer">
|
||||||
<button type="button" class="bg-background-button hover:bg-background-button-hover flex items-center justify-between gap-3 px-4 py-2.5 text-sm font-medium text-white transition-colors disabled:opacity-50">
|
<button type="button" class="bg-background-button hover:bg-background-button-hover flex items-center justify-between gap-3 px-4 py-2.5 text-sm font-medium text-white transition-colors disabled:opacity-50">
|
||||||
@@ -111,4 +111,4 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user