[front/perf] update question style
This commit is contained in:
parent
82145993dc
commit
dcd1ea6afa
1 changed files with 5 additions and 4 deletions
|
@ -54,10 +54,11 @@
|
||||||
(for [ans (:answers post)]
|
(for [ans (:answers post)]
|
||||||
^{:key ans}
|
^{:key ans}
|
||||||
[:div {:class "p-3 bg-white shadow rounded-lg"}
|
[:div {:class "p-3 bg-white shadow rounded-lg"}
|
||||||
[:img
|
[:div {:class "flex items-center mb-3"}
|
||||||
{:src (-> ans :author :avatar_url)}]
|
[:img {:class "h-10 rounded"
|
||||||
[:a {:class "text-lg"}
|
:src (-> ans :author :avatar_url)}]
|
||||||
(-> ans :author :name)]
|
[:a {:class "text-lg ml-3"}
|
||||||
|
(-> ans :author :name)]]
|
||||||
[:div
|
[:div
|
||||||
{:dangerouslySetInnerHTML
|
{:dangerouslySetInnerHTML
|
||||||
{:__html (:content ans)}}]
|
{:__html (:content ans)}}]
|
||||||
|
|
Loading…
Reference in a new issue