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 2dba3a7  prevent label wrap on buttons
2dba3a7 is described below

commit 2dba3a78fa54bf698c680268e394b1a4317ed86f
Author: Carlos Rovira <carlosrov...@apache.org>
AuthorDate: Wed Jun 13 16:48:54 2018 +0200

    prevent label wrap on buttons
---
 frameworks/themes/JewelTheme/src/main/resources/defaults.css            | 2 ++
 .../themes/JewelTheme/src/main/sass/components-primary/_button.sass     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css 
b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 6da5d3f..5dd17c1 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -112,6 +112,7 @@ div {
   border: 1px solid #b3b3b3;
   box-shadow: inset 0 1px 0 white;
   border-radius: 3px;
+  white-space: nowrap;
   font-family: "Lato", sans-serif;
   font-size: 14px;
   font-weight: bold;
@@ -154,6 +155,7 @@ div {
   border: 1px solid #0f88d1;
   box-shadow: inset 0 1px 0 #9bd5f8;
   border-radius: 3px;
+  white-space: nowrap;
   font-family: "Lato", sans-serif;
   font-size: 14px;
   font-weight: bold;
diff --git 
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_button.sass 
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_button.sass
index 35317dc..751a948 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_button.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_button.sass
@@ -44,6 +44,8 @@ $button-border-radius: 3px
                        duration: $transition-duration
                        timing-function: $transition-timing
        
+       // -- BUTTON LABEL
+       white-space: nowrap
        font:
                family: $font-stack 
                size: $font-size

-- 
To stop receiving notification emails like this one, please contact
carlosrov...@apache.org.

Reply via email to