Added CSS styles
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
const api = "https://reactnd-books-api.udacity.com"
|
||||
|
||||
|
||||
// Generate a unique token for storing your bookshelf data on the backend server.
|
||||
// Generate a unique token
|
||||
let token = localStorage.token
|
||||
if (!token)
|
||||
token = localStorage.token = Math.random().toString(36).substr(-8)
|
||||
|
||||
@@ -76,6 +76,7 @@ class SearchPage extends Component {
|
||||
</ol>
|
||||
</div>
|
||||
<div className="tags">
|
||||
<p className="title-tag">Suggested search terms:</p>
|
||||
<ul>
|
||||
<li><span class="badge">Android</span></li>
|
||||
<li><span class="badge">Art</span></li>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
padding: 5px 17px;
|
||||
background: #f2f2f2;
|
||||
font-size: 12px;
|
||||
color: #8e8e8e;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tags > ul > li > span:hover {
|
||||
@@ -20,6 +20,10 @@
|
||||
padding: 5px 17px;
|
||||
background: #ececec;
|
||||
font-size: 12px;
|
||||
color: #8e8e8e;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tags > .title-tag {
|
||||
margin-left: 45px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user