Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figure text alignment #1

Open
hxrts opened this issue Jul 22, 2016 · 2 comments
Open

figure text alignment #1

hxrts opened this issue Jul 22, 2016 · 2 comments

Comments

@hxrts
Copy link
Member

hxrts commented Jul 22, 2016

for images with width < 100% body, figure text improperly justified

@cogell
Copy link

cogell commented Jul 24, 2016

can you link to an example?

@hxrts
Copy link
Member Author

hxrts commented Jul 25, 2016

oh hey!

the image at the very bottom of this page has an example, where the figure text should line up with the width of the image.

http://avant.org/project/itself-not-so/

& an .md excerpt

---
author: ["Author Name"]
date: 2015-01-21
slug: test-slug
title: Post Title
cover: "http://objects.avant.org/itself-not-so/a12d0371-69df-4a03-5ab1-300faf824d85.jpg"
type: "project"
---

{{% center %}}
{{% img width="45%" url="http://objects.avant.org/itself-not-so/c382a038-aee8-4076-6330-32362c78b3e1.jpg" %}}
example caption goes here
{{% /img %}}
{{% /center %}}

I should probably be using the <figure> & <figcaption> elements which accommodate this behaviour by default a bit better.

If you'd like to help, happy to get you setup :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants