Skip to content

'center' bpi not centering text #100

@mattretzer

Description

@mattretzer

It's being overridden by something(s) in the css, presumably with greater specificity.
Test docx and html here.
CSS in pdf.css for .center is being ignored.
Tried oneoff_pdf.css like so:

p.center {
  text-align-last: center;
}

... to override CSS for p; this worked in jsbin but not for bookmaker, should test with prince locally. This worked for this file, but would not make sense to apply globally in base css:

p.center.Dateline-Chapterdl {
  text-align-last: center;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions