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

carlosrovira 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 c84b077  remove popup width restriction on devices
c84b077 is described below

commit c84b07740b60ab4bbc53cddc82cfdcbe2e90f03a
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Feb 7 18:12:51 2019 +0100

    remove popup width restriction on devices
---
 frameworks/projects/Jewel/src/main/resources/defaults.css      | 5 -----
 frameworks/projects/Jewel/src/main/sass/components/_popup.sass | 8 ++++----
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css 
b/frameworks/projects/Jewel/src/main/resources/defaults.css
index ca72586..e5ff841 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -3227,11 +3227,6 @@ j|Spinner {
     width: calc(100% - 20px);
   }
 }
-@media (min-width: 768px) and (max-width: 992px) {
-  .popup-content .jewel.popupcontent {
-    width: calc(100% - 300px);
-  }
-}
 @media (min-width: 992px) {
   .popup-content .jewel.popupcontent {
     transform: translate(-50%, -60%);
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_popup.sass 
b/frameworks/projects/Jewel/src/main/sass/components/_popup.sass
index a272e16..3024bd8 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_popup.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_popup.sass
@@ -83,10 +83,10 @@ $popup-content-margin-offset: 10px
         .jewel.popupcontent
             width: calc(100% - #{2*$popup-content-margin-offset})
 
-@media (min-width: $tablet) and (max-width: $desktop)
-    .popup-content
-        .jewel.popupcontent
-            width: calc(100% - #{30*$popup-content-margin-offset})
+// @media (min-width: $tablet) and (max-width: $desktop)
+//     .popup-content
+//         .jewel.popupcontent
+//             width: calc(100% - #{30*$popup-content-margin-offset})
 
 @media (min-width: $desktop)
     .popup-content

Reply via email to