Skip to content
New issue

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

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

Already on GitHub? # to your account

Table title should align to left edge of table #469

Closed
handcraftsman opened this issue Jun 24, 2016 · 1 comment
Closed

Table title should align to left edge of table #469

handcraftsman opened this issue Jun 24, 2016 · 1 comment
Assignees
Labels

Comments

@handcraftsman
Copy link

I have a description (i.e. An Example Table) on a centered table

.An Example Table
[width="50%",align="center"]
|===
| Lorem ipsum dolor sit amet, consectetur 
|===

The table is centered but the description is left aligned, like this;

An Example Table
                                +============================================+
                                | Lorem ipsum dolor sit amet, consectetur    |
                                +============================================+

. I expected the description to be left aligned to the centered table:

                                An Example Table
                                +============================================+
                                | Lorem ipsum dolor sit amet, consectetur    |
                                +============================================+

Is there a setting for that?

@mojavelinux mojavelinux added the bug label Aug 8, 2016
@mojavelinux mojavelinux self-assigned this Aug 8, 2016
@mojavelinux mojavelinux added this to the v1.5.0.alpha.13 milestone Aug 8, 2016
@mojavelinux
Copy link
Member

I agree. This is a layout bug. I forget to check this scenario when I enabled table alignment. The same would be true for a right-aligned table.

@mojavelinux mojavelinux changed the title table descriptions should align to the left edge of the table Table title should align to left edge of table Aug 11, 2016
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Aug 11, 2016
align left edge of the table title to left edge of table when table is not aligned to left margin
fapdash pushed a commit to vogellacompany/asciidoctor-pdf that referenced this issue Dec 13, 2016
…sciidoctor#508)

align left edge of the table title to left edge of table when table is not aligned to left margin
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants