Giter Club home page Giter Club logo

adam-mickiewicz_pan-tadeusz_maude-ashurst-biggs's People

Contributors

acabal avatar emmasweeney avatar lukasbystricky avatar

Watchers

 avatar  avatar  avatar

adam-mickiewicz_pan-tadeusz_maude-ashurst-biggs's Issues

Misalignment of text with xml:lang tag in nested spans

In the six places listed below the vertical alignment of the spans with language tags seems incorrect when viewing the ebook. The affected spans are all children of spans that are children of spans with the line-break class.

Book 4:

<span class="line-break">
	<span>And furious <span xml:lang="pl">Sprawnik</span>.</span>
	<span>Then the <span xml:lang="pl">Wojski</span> seized</span>
</span>

Book 7:

<span class="line-break">
	<span>Down with <span xml:lang="pl">Soplica</span>!”</span>
	<span>Thus the eloquent</span>
</span>

Book 9:

<span class="line-break">
	<span>He struck who stood at side of <span xml:lang="pl">Rykow</span>.</span>
	<span>“Major,”</span>
</span>

Book 10:

<span class="line-break">
	<span>“I am <span xml:lang="pl">Jacek Soplica</span>.”</span>
	<span>At these words</span>
</span>

Book 11:

<span class="line-break">
	<span>To <span xml:lang="pl">Soplicowo</span> for the banquet.</span>
	<span>But</span>
</span>

Book 12:

<span class="line-break">
	<span>Where’er the <span xml:lang="pl">Wojski</span> indicates.</span>
	<span>The Judge,</span>
</span>

Adding either of the following to the CSS seems to fix it; I don't know which is preferable:

.line-break span:last-child{
	vertical-align: 0;
}
.line-break span > span[xml|lang]{
	vertical-align: 0;
}

Happy to do a PR for it if correct but thought it should be checked first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.