Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Sidebar textboxes don't appear as sidebars #67

Open
josieg opened this issue Nov 8, 2018 · 3 comments
Open

Sidebar textboxes don't appear as sidebars #67

josieg opened this issue Nov 8, 2018 · 3 comments

Comments

@josieg
Copy link

josieg commented Nov 8, 2018

Description

Sidebar textboxes appear as regular textboxes in mPDF.

Expected behaviour

When I have a sidebar in my book, I expect that it will appear as a sidebar in mPDF format.

What the sidebar textbox looks like in Prince:
princesidebar

Actual behaviour

Textboxes that are added as sidebars appear as regular textboxes in mPDF.

What the sidebar textbox looks like in mPDF:
mpdfsidebar

Steps to reproduce the problem

  1. Add a sidebar textbox to your chapter.
  2. Export book as mPDF.
  3. Look at the textbox that is supposed to be a sidebar. See that it is not a sidebar and just a regular textbox. Sigh in defeat.
@bdolor
Copy link
Contributor

bdolor commented Nov 21, 2018

resolved via 5cd67ff

@josieg
Copy link
Author

josieg commented Nov 21, 2018

Can we make it so text wraps around the textbox and there is some space between the text and the textbox border?
mpdfsidebar2.JPG

@bdolor
Copy link
Contributor

bdolor commented Nov 22, 2018

would like to leave a note here that this change has been reverted via 8429a57 . The level of CSS support makes this otherwise very simple request more challenging.

https://mpdf.github.io/css-stylesheets/supported-css.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants