Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 5afcc05

Browse files
MichaelFosswardbell
authored andcommitted
Update search result styling (#3322)
Change the height of the search results so that the height of each places the text inside directly in the middle. Apply a styling similar to the dashboard's heroes when hovering over a search result.
1 parent 5985dc9 commit 5afcc05

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

public/docs/_examples/toh-6/ts/src/app/hero-search.component.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
border-left: 1px solid gray;
55
border-right: 1px solid gray;
66
width:195px;
7-
height: 20px;
7+
height: 16px;
88
padding: 5px;
99
background-color: white;
1010
cursor: pointer;
1111
}
1212

13+
.search-result:hover {
14+
color: #eee;
15+
background-color: #607D8B;
16+
}
17+
1318
#search-box{
1419
width: 200px;
1520
height: 20px;

0 commit comments

Comments
 (0)