Skip to content

Commit 4f90c9b

Browse files
docs(Error404): improve search results layout
1 parent 11aceac commit 4f90c9b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/app/assets/Error404.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ <h1>Welcome To AngularJS</h1>
22

33
<p>The page you were looking for is not here. Perhaps you were looking for something else...</p>
44

5-
<div class="search-results-frame" ng-controller="Error404SearchCtrl">
5+
<div ng-controller="Error404SearchCtrl">
66

7-
<div ng-repeat="(key, value) in results" ng-show="value.length">
8-
<h4>{{ key }}</h4>
9-
<ul class="search-results">
10-
<li ng-repeat="item in value"><a ng-href="{{ item.path }}">{{ item.name }}</a></li>
11-
</ul>
12-
</div>
7+
<dl ng-repeat="(key, value) in results" ng-show="value.length" style="float: left; margin-right:20px">
8+
<dt>{{ key }}</dt>
9+
<dd ng-repeat="item in value"><a ng-href="{{ item.path }}">{{ item.name }}</a></dd>
10+
</dl>
1311
</div>

0 commit comments

Comments
 (0)