-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table content is cut off on left side #336
Comments
@joewiz Found the cause: A rule for a text-indentation! |
@joewiz I was about to fix the <table>
<row>
<cell rend="padding-left: 3em">
<hi rend="smallcaps">u.s.</hi>
</cell>
<cell rend="padding-left: 3em">
<hi rend="smallcaps">south africa</hi>
</cell>
</row>
<row>
<cell rendition="#hanging">Secretary Marshall</cell>
<cell rendition="#hanging">Mr. Francis C. Erasmus, Minister of
Defense;</cell>
</row>
<row>
<cell rendition="#hanging">Major General Lemnitzer, <gloss
target="#t_OSD1">OSD</gloss>
</cell>
<cell rendition="#hanging #top">Mr. Hubert F. Cuff, Secretary
for Defense;</cell>
</row>
<row>
<cell rendition="#hanging">Colonel A. Drexel Biddle, Army</cell>
<cell rendition="#hanging">Major General Christian L. DuToit,
Chief of General Staff;</cell>
</row>
<row>
<cell rendition="#hanging">Captain Craig, <gloss
target="#t_OSD1">OSD</gloss>
</cell>
<cell rendition="#hanging">Brigadier Klopper</cell>
</row>
<row>
<cell rendition="#hanging">Major George, <gloss target="#t_OSD1"
>OSD</gloss>
</cell>
<cell rendition="#hanging">Ambassador G. P. Jooste</cell>
</row>
<row>
<cell/>
<cell rendition="#hanging">Colonel DeVos, Combined Air Military
Attaché</cell>
</row>
</table> So it's the bit This is the rendered HTML that is inserted right before the TEI div (https://history.state.gov/historicaldocuments/frus1950v05/d985): <style type="text/css">.document_left {
display: inline; float: left;
}
.document_hanging {
padding-left:2em; text-indent:-1.5em;
}
.document_top {
vertical-align: top;
}
.document_right {
display: inline; float: right;
}
</style> Could you please tell me, how this inline css is rendered and inserted? Apart from that, those injected css values are rather problematic to maintain, so I would suggest to handle the layout by the general |
As noticed by @awmarrs and passed to me by @seckroth, the tables at the top of https://history.state.gov/historicaldocuments/frus1950v05/d985 is cut off, and there is no way to scroll to see the hidden content.
See the left margin of the table from the URL above:
At first I thought this was a case of needing an
overflow-x
property, but upon further investigation I believe the culprit is thepadding: 8px
property from the.tei-table
and.tei-cell
classes. Disabling thispadding: 8px
property resolves the problem of cut-off content:Here's how the appearance changes with the
padding: 8px
property removed:This phenomenon seems similar to that reported in #256, but I don't think the TEI source or rendition values defined in the file is responsible.
@plutonik-a Do you have any ideas about how we should fix this?
The text was updated successfully, but these errors were encountered: