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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 42ce0f6  Improved: Fix issues reported by  SonarQube analysis on 
Github (OFBIZ-12284)
42ce0f6 is described below

commit 42ce0f6cfd071f8dfb92579b027b77054b565e91
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Aug 6 10:54:28 2021 +0200

    Improved: Fix issues reported by  SonarQube analysis on Github (OFBIZ-12284)
    
    I guess a space is needed after question mark for CSS expression when using
    ternary operator
---
 themes/flatgrey/webapp/flatgrey/style.css         | 2 +-
 themes/rainbowstone/webapp/rainbowstone/style.css | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/flatgrey/webapp/flatgrey/style.css 
b/themes/flatgrey/webapp/flatgrey/style.css
index 1389ef5..60b7a39 100644
--- a/themes/flatgrey/webapp/flatgrey/style.css
+++ b/themes/flatgrey/webapp/flatgrey/style.css
@@ -109,7 +109,7 @@ body {
     color: #000;
     min-width: 780px;
     margin: 0;
-    width: expression(document.body.clientWidth < 782? "780px" : "auto");
+    width: expression(document.body.clientWidth < 782 ? "780px" : "auto");
 }
 
 hr {
diff --git a/themes/rainbowstone/webapp/rainbowstone/style.css 
b/themes/rainbowstone/webapp/rainbowstone/style.css
index 0d30b26..d76b5da 100644
--- a/themes/rainbowstone/webapp/rainbowstone/style.css
+++ b/themes/rainbowstone/webapp/rainbowstone/style.css
@@ -111,7 +111,7 @@ body {
     color: #000;
     min-width: 780px;
     margin: 0;
-    width: expression(document.body.clientWidth < 782? "780px" : "auto");
+    width: expression(document.body.clientWidth < 782 ? "780px" : "auto");
 }
 
 hr {

Reply via email to