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

Image and text paradigma #200

Closed
moovida opened this issue Jul 14, 2018 · 4 comments
Closed

Image and text paradigma #200

moovida opened this issue Jul 14, 2018 · 4 comments

Comments

@moovida
Copy link

moovida commented Jul 14, 2018

Hi, in my slides I am using very often an image and at the side of the image a bullet list or some other text. I am trying to get this with a table.

I am using:

[cols="<.<,<.<"] 
|=== 

a| 
1. connect your Android device to internet 
2. open Play Store 
3. type geopaparazzi within the Search textbox 
a| image:images/01_install.png[width=70%] 

|=== 

I would expect a bullet list on the left and an image on the right.

Which is indeed what happens, but the bullet list is aligned at the center of the image. I have tried almost everything with the alignments settings but have not been able to get out of this.

Since in asciidoctor html this behaves correctly, I signal it here as possible issue.
Is there anything that can be doen to achieve this?

@obilodeau
Copy link
Member

We have not pulled in the CSS required to accomplish this from the asciidoctor project. This is tracked by #77.

As a workaround, you can most likely get away with it using role=right in your image attributes like this:

. connect your Android device to internet
  image:images/01_install.png[width=70%,role=right]
. open Play Store 
. type geopaparazzi within the Search textbox

In the future, I think we'll make table behave like tables (for content, not for display) but I'll make and document a set of standard roles for the common use cases of slides (i.e.: bullets on the left, image/chart on the right, etc.).

@obilodeau obilodeau added this to the 2.1.0 milestone Nov 7, 2018
@moovida
Copy link
Author

moovida commented Feb 8, 2019

Ouch, I missed this answer, thanks though.

Just as an info, the workaround you mention doesn't do the trick.

@ggrossetie
Copy link
Member

With the latest version, you should be able to use grid layout instead: https://github.com/asciidoctor/asciidoctor-reveal.js/blob/master/CHANGELOG.adoc#400-2020-02-18

Is there anything more to do regarding this issue?

@moovida
Copy link
Author

moovida commented Mar 15, 2020

Thanks for this @Mogztter .

I will close this issue as it is outdated.

@moovida moovida closed this as completed Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants