incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject git commit: Fixed scrolling layout on search results
Date Fri, 13 Jun 2014 11:18:44 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/apache-blur-0.2 ac4140148 -> 78a2409d4


Fixed scrolling layout on search results


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/78a2409d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/78a2409d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/78a2409d

Branch: refs/heads/apache-blur-0.2
Commit: 78a2409d42e22029d136b5fc46c69f81c5f19b35
Parents: ac41401
Author: Chris Rohr <rohr.chris@gmail.com>
Authored: Fri Jun 13 07:18:39 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Fri Jun 13 07:18:39 2014 -0400

----------------------------------------------------------------------
 .../blur-console/src/main/webapp/js/blurconsole.search.js | 10 ----------
 .../src/main/webapp/sass/blurconsole.search.scss          |  6 +++++-
 2 files changed, 5 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/78a2409d/contrib/blur-console/src/main/webapp/js/blurconsole.search.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/js/blurconsole.search.js b/contrib/blur-console/src/main/webapp/js/blurconsole.search.js
index 1c92667..a35da9e 100644
--- a/contrib/blur-console/src/main/webapp/js/blurconsole.search.js
+++ b/contrib/blur-console/src/main/webapp/js/blurconsole.search.js
@@ -320,15 +320,6 @@ blurconsole.search = (function () {
 		});
 
 		jqueryMap.$resultsHolder.html(familyMarkup);
-		_fixPanelWidths();
-	}
-
-	function _fixPanelWidths() {
-		var allPanels = jqueryMap.$resultsHolder.find('.panel-collapse');
-		if (allPanels.length > 0) {
-			var width = $(allPanels[0]).parent().width() - 30;
-			allPanels.width(width);
-		}
 	}
 
 	function _drawResults(evt, families) {
@@ -413,7 +404,6 @@ blurconsole.search = (function () {
 					$(famId).addClass('loaded');
 				}
 			});
-			_fixPanelWidths();
 		}
 	}
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/78a2409d/contrib/blur-console/src/main/webapp/sass/blurconsole.search.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/sass/blurconsole.search.scss b/contrib/blur-console/src/main/webapp/sass/blurconsole.search.scss
index 879c101..72ff281 100644
--- a/contrib/blur-console/src/main/webapp/sass/blurconsole.search.scss
+++ b/contrib/blur-console/src/main/webapp/sass/blurconsole.search.scss
@@ -19,12 +19,16 @@ under the License.
  */
 
 #results {
+	.panel {
+		display:inline-block;
+		margin-right: 10px;
+		min-width: 100%;
+	}
 	.panel-heading {
 		cursor: pointer;
 	}
 	.panel-collapse {
 		padding: 5px;
-		overflow-x: auto;
 	}
 }
 


Mime
View raw message