Fix up movie dsplay in weekly posts
This commit is contained in:
@@ -33,7 +33,7 @@ In my spare time I like to tinker on various Ruby projects (including the softwa
|
||||
- Adamantium
|
||||
- ✅ Build a blogging tool that I actually use.
|
||||
- Clean things up and open-source the code — I'm currently using some un-released features of Hanami, so keen to bring in the officially supported stuff before sharing.
|
||||
- Build in a photo gallery.
|
||||
- ✅ Build in a photo gallery to post pages.
|
||||
- Add a way to syndicate after a post is published.
|
||||
- Add places visited to weekly posts.
|
||||
- Add weather history to weekly posts.
|
||||
|
@@ -56,7 +56,7 @@ article class="h-entry"
|
||||
div class="flex gap-4 pb-4 mt-4"
|
||||
- past_movies.map do |movie|
|
||||
a href=movie.url
|
||||
figure
|
||||
figure class="w-24"
|
||||
img class="rounded hover:opacity-80" src=movie.poster
|
||||
figcaption= movie.title
|
||||
hr
|
||||
|
@@ -1226,6 +1226,14 @@ video {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.w-3 {
|
||||
width: 0.75rem;
|
||||
}
|
||||
|
||||
.w-24 {
|
||||
width: 6rem;
|
||||
}
|
||||
|
||||
.max-w-3xl {
|
||||
max-width: 48rem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user