GithubHelp home page GithubHelp logo

grantnotes's People

Contributors

darth-cheney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

grantnotes's Issues

Elements floated above .footnote-bar affect the position of the first footnote by their height

Although this bug does not affect the examples provided with this repository, I have found in implementing this code in other work that floating a div above the footnote-bar will, in fact, mess up the position of the first footnote so that it is errantly positioned lower than it should be by exactly the number of pixels of the problematic element's height. I cannot locate the exact cause of this bug yet, but it is super-duper annoying.

`sup` at bottom of article results in footnote that can extend below article height

If a footnote is placed within the final sentence in an article, and if the text of that note is longer than one line within the .footnote-bar, then the current script results in a formatting whereby the .footnote-bar is extended lower than the article (and this the content we're concerned with). It looks bad, too.

Needed: a new calculation thrown into the mix that finds the bottom position of the main-text container, translates it into .footnote-bar's equivalent, and then sets a limit on how low footnotes can extend. Since we can already get a footnote's bottom using both bottom() and offBottom() methods, is should not be much of a hassle to throw this extra consideration into the mix.

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.