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

Enhancement request: css styling for images #29

Closed
rstento opened this issue Aug 7, 2019 · 2 comments
Closed

Enhancement request: css styling for images #29

rstento opened this issue Aug 7, 2019 · 2 comments
Assignees

Comments

@rstento
Copy link
Contributor

rstento commented Aug 7, 2019

According to the example shown on this blog: https://mrhaki.blogspot.com/2017/10/awesome-asciidoctor-grouping-floating.html

The following markup should scale the three images and line them up across the page: [.float-group]

image::grafanaAkka.png[Akka metrics,width="25%",float="left"]
image::clusterPage1.png[Main dashboard,width="40%",float="left"]
image::grafanaHomeExpanded.png[Grafana dashboard,width="25%",float="left"]

I tried this in the index page for: https://github.com/lightbend/lightbend-console-docs/tree/master/docs/modules/ROOT/pages and couldn't make it work. I suspect we need some css styling to make it happen? The desired output is similar to the images on: https://developer.lightbend.com/docs/console/current/index.html

@rasummer
Copy link
Collaborator

rasummer commented Aug 7, 2019

So if we need three images in a row on the same line, I can come up with something different to this.

Floating is an old css technique that I don't really want us to start supporting or implementing. Plus we should want this technique to work responsively.

In the meantime, I'll email you a screen grab of the three images, as one image

@rasummer rasummer self-assigned this Aug 7, 2019
@rstento
Copy link
Contributor Author

rstento commented Aug 7, 2019 via email

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