mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-14 12:15:22 +00:00
improve mobile view
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<a href="{{Post.Link}}">
|
||||
<div class="flex flex-row gap-2 w-full bg-slate-600 p-2 rounded-lg">
|
||||
<img class="object-cover hidden sm:block w-[80px] h-[100px] rounded-lg" src="{{this.Post.Cover.Url}}" alt="">
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="sm:grid gap-4 w-full" style="grid-template-columns: 120px 1fr;">
|
||||
<img class="object-cover block w-full h-[300px] sm:w-[120px] sm:h-[140px] rounded-lg rounded-b-none sm:rounded-b-lg" src="{{this.Post.Cover.Url}}" alt="">
|
||||
<div class="flex flex-col gap-2 bg-slate-600 p-4 rounded-lg rounded-t-none sm:rounded-t-lg" w-full">
|
||||
<div class="flex gap-2 items-center">
|
||||
{{#noteq this.User.Username "[deleted]"}}
|
||||
<img src="{{this.User.Avatar}}" class="rounded-full" width="24" height="24" loading="lazy">
|
||||
|
||||
Reference in New Issue
Block a user