superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: fix long title text wrapping in editable-title component (#3638)
Date Tue, 10 Oct 2017 18:45:53 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8994bda  fix long title text wrapping in editable-title component (#3638)
8994bda is described below

commit 8994bdacbd5c76c52dc32cd5d700136a12367694
Author: Grace Guo <grace.guo@airbnb.com>
AuthorDate: Tue Oct 10 11:45:48 2017 -0700

    fix long title text wrapping in editable-title component (#3638)
    
    fix https://github.com/apache/incubator-superset/issues/3628
---
 superset/assets/stylesheets/dashboard.css | 4 ++++
 superset/assets/stylesheets/superset.less | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/superset/assets/stylesheets/dashboard.css b/superset/assets/stylesheets/dashboard.css
index fd47dec..289ead3 100644
--- a/superset/assets/stylesheets/dashboard.css
+++ b/superset/assets/stylesheets/dashboard.css
@@ -90,6 +90,10 @@ div.widget .chart-controls {
   box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.2);
 }
 
+.slice-cell .editable-title input[type="button"] {
+  font-weight: bold;
+}
+
 .dashboard .separator.widget .slice_container {
   padding: 0px;
   overflow: visible;
diff --git a/superset/assets/stylesheets/superset.less b/superset/assets/stylesheets/superset.less
index 78f26bb..fedb124 100644
--- a/superset/assets/stylesheets/superset.less
+++ b/superset/assets/stylesheets/superset.less
@@ -210,6 +210,8 @@ div.widget .slice_container {
 .editable-title input[type="button"] {
     border-color: transparent;
     background: inherit;
+    white-space: normal;
+    text-align: left;
 }
 
 .editable-title input[type="button"]:hover {

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message