Use button for controls in header
This commit is contained in:
parent
51d8a023fe
commit
4fe1ea90cc
2 changed files with 7 additions and 2 deletions
|
|
@ -89,6 +89,11 @@
|
||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section.login label {
|
||||||
|
padding: 6px 0;
|
||||||
|
margin: 6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
section.posts .controls {
|
section.posts .controls {
|
||||||
padding: 0 0 36px;
|
padding: 0 0 36px;
|
||||||
}
|
}
|
||||||
|
|
@ -132,6 +137,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.posts ul.results {
|
section.posts ul.results {
|
||||||
|
|
|
||||||
|
|
@ -394,8 +394,7 @@
|
||||||
#_(cond (= api-state :loading) " …"
|
#_(cond (= api-state :loading) " …"
|
||||||
(= api-state :error) " API Error!")]
|
(= api-state :error) " API Error!")]
|
||||||
[:section.buttons
|
[:section.buttons
|
||||||
[:a.control-button {:href "#"
|
[:button.control-button {:on-click disconnect-account!} "▤ Disconnect account"]]]
|
||||||
:on-click disconnect-account!} "⊘ Disconnect account"]]]
|
|
||||||
[:ul.results (map-indexed (fn [idx p]
|
[:ul.results (map-indexed (fn [idx p]
|
||||||
^{:key idx} [:li.result [post {:post p}]]) displayed-posts)]
|
^{:key idx} [:li.result [post {:post p}]]) displayed-posts)]
|
||||||
#_[:div.load-buttons
|
#_[:div.load-buttons
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue