Open cdrini opened 3 months ago
E.g. https://openlibrary.org/books/OL8978501M/Robin_Hood
Perhaps we can update the + 1 here: https://github.com/internetarchive/openlibrary/blob/73b70f6b997c401caf2fe8078a6296c8f3167ee5/openlibrary/plugins/openlibrary/js/readmore.js#L58
+ 1
To instead be the height of the .read-more__toggle--more button. We might need to capture that height in the constructor though, before the read more button is potentially hidden!
.read-more__toggle--more
https://github.com/internetarchive/openlibrary/blob/73b70f6b997c401caf2fe8078a6296c8f3167ee5/openlibrary/plugins/openlibrary/js/readmore.js
@RayBB
Note: Before making a new branch or updating an existing one, please ensure your branch is up to date.
@RayBB I would like to work on this issue
@CodeMaverick2 assigned to you :)
Problem
Evidence / Screenshot
Relevant URL(s)
E.g. https://openlibrary.org/books/OL8978501M/Robin_Hood
Reproducing the bug
Context
Notes from this Issue's Lead
Proposal & constraints
Perhaps we can update the
+ 1
here: https://github.com/internetarchive/openlibrary/blob/73b70f6b997c401caf2fe8078a6296c8f3167ee5/openlibrary/plugins/openlibrary/js/readmore.js#L58To instead be the height of the
.read-more__toggle--more
button. We might need to capture that height in the constructor though, before the read more button is potentially hidden!Related files
https://github.com/internetarchive/openlibrary/blob/73b70f6b997c401caf2fe8078a6296c8f3167ee5/openlibrary/plugins/openlibrary/js/readmore.js
Stakeholders
@RayBB
Note: Before making a new branch or updating an existing one, please ensure your branch is up to date.