Add responsive style to About page
This commit is contained in:
@@ -169,22 +169,20 @@
|
||||
<div class="text text-small">
|
||||
{@html about.creation_text}
|
||||
</div>
|
||||
<figure class="portrait-photo">
|
||||
<Image
|
||||
class="shadow-box-dark"
|
||||
id={about.creation_portrait.id}
|
||||
alt={about.creation_portrait.title}
|
||||
sizeKey="photo-list"
|
||||
sizes={{
|
||||
small: { width: 400 },
|
||||
medium: { width: 750 },
|
||||
}}
|
||||
ratio={1.425}
|
||||
/>
|
||||
<figcaption class="text-info">
|
||||
{about.creation_portrait_caption}
|
||||
</figcaption>
|
||||
</figure>
|
||||
<Image
|
||||
class="portrait-photo shadow-box-dark"
|
||||
id={about.creation_portrait.id}
|
||||
alt={about.creation_portrait.title}
|
||||
sizeKey="photo-list"
|
||||
sizes={{
|
||||
small: { width: 400 },
|
||||
medium: { width: 750 },
|
||||
}}
|
||||
ratio={1.425}
|
||||
/>
|
||||
<span class="portrait-photo__caption text-info">
|
||||
{about.creation_portrait_caption}
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -282,7 +280,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="about__interest grid">
|
||||
<section class="about__interest container grid">
|
||||
<div class="container grid">
|
||||
<h2 class="title-xl">{about.contact_title}</h2>
|
||||
<div class="blocks">
|
||||
|
||||
Reference in New Issue
Block a user