bobbingwide / genesis-a2z

Genesis child theme for WP-a2z.org
GNU General Public License v2.0
0 stars 0 forks source link

API syntax not left right scrollable #24

Closed bobbingwide closed 2 years ago

bobbingwide commented 4 years ago

Looks like the <pre> tag no longer has overflow:auto. Why was this done?

bobbingwide commented 4 years ago

That wasn’t the right fix!

bobbingwide commented 4 years ago

The problem appears to be related to the following CSS in style.css

 .site-container {
        animation: fadein 1s;
      word-wrap: break-word;
 }

Removing word-wrap: break-word; fixes the issue with content inside the <pre> tag not being wrapped instead of being scrollable left to right.

This problem did not occur when emulating an iPhone/iPad using Chrome or Firefox. This CSS was introduced in the changes for #18 where style.css was copied from genesis-sample.

bobbingwide commented 4 years ago

The latest fix is now on wp-a2z.org so can be tested on both my iPad and iPhone.

bobbingwide commented 2 years ago

Officially delivered in v2.1.0