Use button for controls in header

This commit is contained in:
arne 2025-11-18 22:26:11 +01:00
commit 4fe1ea90cc
2 changed files with 7 additions and 2 deletions

View file

@ -89,6 +89,11 @@
max-width: 480px;
}
section.login label {
padding: 6px 0;
margin: 6px 0;
}
section.posts .controls {
padding: 0 0 36px;
}
@ -132,6 +137,7 @@
cursor: pointer;
text-decoration: none;
display: inline-block;
border: none;
}
section.posts ul.results {

View file

@ -394,8 +394,7 @@
#_(cond (= api-state :loading) " …"
(= api-state :error) " API Error!")]
[:section.buttons
[:a.control-button {:href "#"
:on-click disconnect-account!} "⊘ Disconnect account"]]]
[:button.control-button {:on-click disconnect-account!} "▤ Disconnect account"]]]
[:ul.results (map-indexed (fn [idx p]
^{:key idx} [:li.result [post {:post p}]]) displayed-posts)]
#_[:div.load-buttons