This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit f0f4f85c637ecf34a25e0bf722bbbc125977c0b1 Author: Josh Tynjala <joshtynj...@apache.org> AuthorDate: Thu Apr 17 10:33:26 2025 -0700 ASDoc: let <pre> tags scroll instead of growing as wide as possible --- examples/royale/ASDoc/src/main/royale/ASDoc.mxml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/royale/ASDoc/src/main/royale/ASDoc.mxml b/examples/royale/ASDoc/src/main/royale/ASDoc.mxml index 95226e1837..17b6cfecbd 100644 --- a/examples/royale/ASDoc/src/main/royale/ASDoc.mxml +++ b/examples/royale/ASDoc/src/main/royale/ASDoc.mxml @@ -25,6 +25,7 @@ limitations under the License. width="900" height="500" > <fx:Style> + @namespace "http://www.w3.org/1999/xhtml"; @namespace basic "library://ns.apache.org/royale/basic"; global { @@ -33,6 +34,10 @@ limitations under the License. basic|DataContainer{ verticalAlign: bottom; } + + pre { + overflow: auto; + } </fx:Style> <js:valuesImpl> <js:SimpleCSSValuesImpl />