Add styling to the load more button (#16).
This commit is contained in:
parent
279f40004f
commit
6d121fb7b4
|
@ -47,4 +47,17 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.load-more {
|
||||||
|
background-color: var(--background-1);
|
||||||
|
border: var(--border-size) solid var(--foreground-1);
|
||||||
|
color: var(--foreground-1);
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0.5rem;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--foreground-1);
|
||||||
|
color: var(--background-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ export default class SearchBar extends Component<Props, State> {
|
||||||
results.push(
|
results.push(
|
||||||
html`
|
html`
|
||||||
<li class="search-state">
|
<li class="search-state">
|
||||||
<button onClick=${this.searchMore}>Load more…</button>
|
<button class="load-more" onClick=${this.searchMore}>Load more…</button>
|
||||||
</li>
|
</li>
|
||||||
`,
|
`,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue