Skip to content
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

CSS causes non-indent in 2nd lines of poetry #97

Open
DavidIB opened this issue Jul 14, 2021 · 0 comments
Open

CSS causes non-indent in 2nd lines of poetry #97

DavidIB opened this issue Jul 14, 2021 · 0 comments

Comments

@DavidIB
Copy link
Contributor

DavidIB commented Jul 14, 2021

There's a problem that is difficult to catch because it occurs infrequently in only some Bibles:
image

The screenshot shows https://beta.stepbible.org/?q=version=WEB|reference=Ps.30&options=HVNUG which should soon be the same on www.STEPBible

The issue is that Level1 indents in poetry don't line up properly in certain circumstances.
In the screenshot the line in v.2 "and you have healed me" should be on the red line, like the line in v.5 "Weeping may stay..."
This issue always affects only the 2nd line in poetry and only if:

  • it is Level1 (most second lines are level2)
  • the first line does not have any style such as SmallCaps for "LORD" or italics etc.
  • the Level style is set before the verse marker, eg: occurs before
    (I don't know why it is coded this way - you'd expect the level code just before the first line, but it happens in some Bibles).

In these circumstances, a strange bit of CSS kicks in:
.passageContentHolder a+br+.level1
{
margin-right:-10px;
}

This is 'strange' because I don't know what it is intended for.
Is there some way to investigate what it is used for before REMing it out?

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

No branches or pull requests

1 participant