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 1e56344734a84ea1fe25d5e95d9f53e65fb2bc92
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Apr 17 11:52:38 2025 -0700

    ASDoc: resize app when browser resizes, and don't let body scroll
    
    Individual containers should scroll
---
 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 17b6cfecbd..7a0affe3af 100644
--- a/examples/royale/ASDoc/src/main/royale/ASDoc.mxml
+++ b/examples/royale/ASDoc/src/main/royale/ASDoc.mxml
@@ -35,6 +35,10 @@ limitations under the License.
             verticalAlign: bottom;
         }
 
+        body {
+            overflow: hidden;
+        }
+
         pre {
             overflow: auto;
         }
@@ -56,5 +60,6 @@ limitations under the License.
         </js:HTTPService>
         <js:JSONReviver id="reviver" />
         <js:ViewSourceContextMenuOption />
+        <js:BrowserResizeApplicationListener enableScroll="false"/>
     </js:beads>
 </js:Application>

Reply via email to