10-22-2021, 03:35 PM | #1 |
Custom User Title
Posts: 9,381
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Composite column display on the content server
While messing about with the content server, I noticed this:
Both ISBN and Chapters are non-taglike composite columns; a taglike composite displays without the gap. Inspect element shows this for ISBN: Code:
<tr><td>ISBN:</td><td><iframe sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox" seamless="" srcdoc="<!DOCTYPE html><html><head><style>html, body { margin: 0; padding: 0; font-family: sans-serif } p:first-child { margin-top: 0; padding-top: 0; -webkit-margin-before: 0 }html, body { overflow: hidden; color: rgba(57, 50, 43, 255) }</style></head><body><p class="description">9781101208809</p></body></html>" data-last_window_width="1115" style="width: 100%; height: 39px;"></iframe></td></tr> Last edited by ownedbycats; 10-23-2021 at 12:22 AM. |
10-23-2021, 01:17 AM | #2 |
creator of calibre
Posts: 44,422
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have set your composite column to have html, html can only be displayed safely in a sandboxed iframe. Setting the height of that is far from an exact science. Change the column definition to indicate it does not output html and you will be fine.
|
Advert | |
|
10-23-2021, 01:59 AM | #3 |
Custom User Title
Posts: 9,381
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That fixed it, although I think I enabled the HTML to disable the "click to see books with..." from book details.
Thank you. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Server display by Author | njw1979 | Server | 1 | 07-06-2020 04:41 AM |
Custom Column on Content Server: 404 Not Found | annekaelber | Calibre | 14 | 04-05-2014 04:39 AM |
CC Content Server - do not display User Categories | filmgal | Devices | 9 | 04-24-2013 03:11 AM |
Change Browsing by: Series display for calibre content server | lynncal | Calibre | 2 | 04-22-2013 01:56 AM |
Mobile Content Server - search for or display series_index data? | Starson17 | Calibre | 5 | 01-08-2010 04:12 PM |