Page nav component alignment fix (#20108)

This commit is contained in:
Ajay Sivan 2024-05-20 18:05:31 +05:30 committed by GitHub
parent dc551031fe
commit 3de86b09bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -261,7 +261,10 @@
{:opacity center-opacity}
nil)
(style/center-content-container
(and (= type :title) (= text-align :center))))
(case type
:title (= text-align :center)
(:dropdown :wallet-networks) true
false)))
props-with-style (assoc props
:center-content-container-style
center-content-container-style)]