Przeglądaj źródła

improved styling, not perefect still

Henry Oswald 10 lat temu
rodzic
commit
90092a0c61

+ 12 - 12
services/web/app/views/wiki/page.jade

@@ -11,23 +11,23 @@ block content
 					| !{contents.content}
 				.col-xs-9.page(ng-controller="SearchWikiController")
 					.row
-						.col-md-12
-							form.project-search.form-horizontal(role="form")
-								.form-group.has-feedback.has-feedback-left.col-md-12
-									input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search help library....")
-									i.fa.fa-search.form-control-feedback-left
-									i.fa.fa-times.form-control-feedback(
-										ng-click="clearSearchText()",
-										style="cursor: pointer;",
-										ng-show="searchQueryText.length > 0"
-									)
+						
+						form.project-search.form-horizontal.col-md-12(role="form")
+							.form-group.has-feedback.has-feedback-left.col-md-12
+								input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search help library....")
+								i.fa.fa-search.form-control-feedback-left
+								i.fa.fa-times.form-control-feedback(
+									ng-click="clearSearchText()",
+									style="cursor: pointer;",
+									ng-show="searchQueryText.length > 0"
+								)
 					.row
 						.col-md-12(ng-cloak)
 							ul.list-unstyled
 								li(ng-repeat='hit in hits')
-									.searchResult
+									.searchResult.thumbnail
 										.row
-											.col.-md-12
+											.col-md-12
 												a(ng-href='{{hit.url}}')
 													span(ng-bind-html='hit.name')
 

+ 5 - 0
services/web/public/stylesheets/app/wiki.less

@@ -104,4 +104,9 @@
 
 	/*]]>*/
 
+	.thumbnail {
+		margin-bottom:0px;
+		margin-top:5px;
+	}
+
 }