pressbooks / buckram

Opinionated SCSS components for books (web, EPUB and PDF).
https://buckram.pressbooks.org
GNU General Public License v3.0
4 stars 4 forks source link

Buckram bug: When paragraphs follow a textbox--sidebar and paragraphs are set to indent paragraphs do not indent properly #334

Closed beckej13820 closed 1 year ago

beckej13820 commented 1 year ago

Prerequisites

Description

When a textbox is floated to the outside, it is interrupting the typical paragraph indentation pattern. The paragraph immediately following a floated textbox should follow the normal pattern.

Screenshot 2023-07-04 at 7 02 45 PM

Steps to Reproduce

  1. Create some dummy text with multiple paragraphs
  2. Set the book to indent paragraphs
  3. Add a textbox--sidebar between the paragraphs
  4. notice that the paragraph immediately following the textbox--sidebar in the code will now not be indented.

Expected behavior:

The first paragraph should not be indented, all paragraphs after should be indented.

Actual behavior:

The paragraph following the textbox--sidebar div is not indented.

System Information

System Information

Book Info

Book ID: 80 Book URL: https://aupdemo.pressbooks.sunycreate.cloud/ Book Privacy: Public

Browser

Platform: OS X Browser Name: Edge Browser Version: 113.0.1774.57 User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57

WordPress Configuration

Network URL: https://pressbooks.sunycreate.cloud/ Network Type: Subdomain Version: 6.2.2 Language: en_US WP_ENV: Not set WP_DEBUG: Enabled Memory Limit: 64M

Pressbooks Configuration

Version: 6.11.0 Book Theme: McLuhan Book Theme Version: 2.26.0 Root Theme: Aldine Root Theme Version: 1.19.0

Pressbooks Dependencies

Epubcheck: Installed xmllint: Installed PrinceXML: Installed Saxon-HE: Installed

Must-Use Plugins

hm-autoloader.php: n/a

Network Active Plugins

Git Updater: 12.2.2 Koko Analytics: 1.0.38 Limit Login Attempts Reloaded: 2.25.20 Multisite Plugin Manager: 3.1.6 Pressbooks: 6.11.0 Pressbooks Network Catalog: 1.3.1 Pressbooks Stats: 1.9.0 Unconfirmed: 1.3.5 User Switching: 1.7.0

Book Active Plugins

Git Updater: 12.2.2 Koko Analytics: 1.0.38 Limit Login Attempts Reloaded: 2.25.20 Multisite Plugin Manager: 3.1.6 Pressbooks: 6.11.0 Pressbooks Network Catalog: 1.3.1 Pressbooks Stats: 1.9.0 Unconfirmed: 1.3.5 User Switching: 1.7.0

Inactive Plugins

Candela Citation: 0.2.4 Excalibur: 0.7.0 H5P: 1.15.6 Hypothesis: 0.6.0 Pressbooks Shortcode Handler: 0.1 Pressbooks Shortcode Handler: 1.0.1 TablePress: 2.1.4 WordPress Importer: 0.8.1 WP QuickLaTeX: 3.8.6

Server Configuration

PHP Version: 8.1.18 MySQL Version: 5.7.30 Webserver Info: Apache

PHP Configuration

Memory Limit: 256M Upload Max Size: 150M Post Max Size: 150M Upload Max Filesize: 150M Time Limit: 60 Max Input Vars: 5000 URL-aware fopen: On (1) Display Errors: N/A

PHP Extensions

OPcache: Disabled XDebug: Disabled cURL: Supported cURL Version: 7.86.0 imagick: Installed xsl: Installed