You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2019/09/22 22:12:32 UTC

[royale-asjs] branch develop updated: Small fix to get rid of nested scroll bars during navigation animation (Jewel)

This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 63589ca  Small fix to get rid of nested scroll bars during navigation animation (Jewel)
63589ca is described below

commit 63589cac528441048813c7d6dc297711c4d64632
Author: greg-dove <gr...@gmail.com>
AuthorDate: Mon Sep 23 10:12:13 2019 +1200

    Small fix to get rid of nested scroll bars during navigation animation (Jewel)
---
 frameworks/themes/JewelTheme/src/main/resources/defaults.css          | 2 +-
 .../JewelTheme/src/main/sass/components-primary/_navigation.sass      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 9da3b2d..f8dc6e8 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -626,7 +626,7 @@ j|FormItem {
 
 .navigation-section-group {
   transition: height 0.5s;
-  overflow: hidden;
+  overflow: hidden !important;
 }
 .navigation-section-group .navigationlink {
   padding-left: 34px;
diff --git a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_navigation.sass b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_navigation.sass
index 1fa0d9e..48e4187 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_navigation.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_navigation.sass
@@ -56,10 +56,10 @@
 
 .navigation-section-group
     transition: height .5s
-    overflow: hidden
+    overflow: hidden !important
     // height: this is calculated in code using `childNavigation.element.scrollHeight`
     //&.closed
         //  height: 0
     
     .navigationlink
-        padding-left: 34px
\ No newline at end of file
+        padding-left: 34px