style: trim padding on watch page and base layout
This commit is contained in:
@@ -251,7 +251,7 @@ if (window.showToast) showToast({ message: 'Something went wrong' })
|
||||
</div>
|
||||
|
||||
<main class="w-full flex-1 flex flex-col h-screen overflow-y-auto">
|
||||
<div class="flex-1 p-4 md:p-8 lg:p-10">
|
||||
<div class="flex-1 p-4 md:p-8">
|
||||
{{template "content" .}}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{{if or (not $currentEpID) (eq (printf "%v" $currentEpID) "0") (eq (printf "%v" $currentEpID) "")}}{{$currentEpID = "1"}}{{end}}
|
||||
{{$totalEpisodes := len $episodes}}
|
||||
|
||||
<div id="watch-layout" class="flex flex-col gap-6 pb-12 lg:flex-row lg:gap-6{{if le $totalEpisodes 100}} max-h-dvh{{end}}">
|
||||
<div id="watch-layout" class="flex flex-col gap-6 lg:flex-row lg:gap-6{{if le $totalEpisodes 100}} max-h-dvh{{end}}">
|
||||
<div class="{{if le $totalEpisodes 100}}shrink-0 lg:flex-1 lg:self-start{{else}}flex-1{{end}} min-w-0">
|
||||
<div class="flex items-center justify-between mb-4">
|
||||
<a href="/anime/{{$anime.MalID}}" class="inline-flex items-center gap-2 text-sm text-foreground-muted hover:text-foreground transition-colors">
|
||||
|
||||
Reference in New Issue
Block a user