Fix title and date wrapping on mobile
This commit is contained in:
parent
95d8707ec1
commit
5f9ce31127
|
|
@ -4,9 +4,9 @@
|
|||
<div class="sticky top-12 bg-white z-30 border-b border-gray-200">
|
||||
<div class="max-w-3xl mx-auto px-4">
|
||||
<div class="flex items-center justify-between py-1">
|
||||
<div class="flex items-baseline gap-1">
|
||||
<h1 class="text-xl italic" v-html="work.title"></h1>
|
||||
<span class="text-sm text-gray-500">({{ year }})</span>
|
||||
<div class="flex flex-wrap items-baseline gap-1">
|
||||
<h1 class="inline-block text-xl italic" v-html="work.title"></h1>
|
||||
<span class="inline-block text-sm text-gray-500">({{ year }})</span>
|
||||
</div>
|
||||
<nav class="flex items-center gap-4 text-sm">
|
||||
<a
|
||||
|
|
@ -35,6 +35,7 @@
|
|||
scrolling="no"
|
||||
frameborder="no"
|
||||
allow="autoplay"
|
||||
class="w-full h-auto"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
|
@ -43,12 +44,11 @@
|
|||
<iframe
|
||||
:src="'https://player.vimeo.com/video/' + work.vimeo_trackid"
|
||||
width="100%"
|
||||
height="400"
|
||||
frameborder="0"
|
||||
webkitallowfullscreen
|
||||
mozallowfullscreen
|
||||
allowfullscreen
|
||||
class="w-full aspect-video"
|
||||
class="w-full aspect-video h-auto"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue