Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pagedjs
pagedjs
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 160
    • Issues 160
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Tools
  • pagedjspagedjs
  • Issues
  • #48

Closed
Open
Opened Jun 30, 2018 by Julie Blanc@JulieBlanc
  • Report abuse
  • New issue
Report abuse New issue

text-align property on page margin-boxes

The text-align property (left|right|center|justify|initial|inherit;) applied to margin at-rules doesn’t work correctly.

HTML: margin-boxes-text-align.html

Result: margin-boxes-text-align-wrong.pdf

The result we should get: margin-boxes-text-align-correct.pdf

This issue is easy to solve by adding a defined width to the margin-boxes content blocks.

.pagedjs_margin-content{ width: 100%; }

HTML working: margin-boxes-text-align-working.html

Edited Jun 30, 2018 by Julie Blanc
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
3
Labels
CSS In Review margin boxes
Assign labels
  • View project labels
Reference: tools/pagedjs#48