Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for overlapping elements on Swap input page #22207

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/quo/components/banners/alert_banner/style.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
(ns quo.components.banners.alert-banner.style
(:require [quo.foundations.colors :as colors]))

(defn alert-banner-container
[theme]
{:background-color (colors/theme-colors colors/white colors/neutral-95 theme)})

(defn container
[container-style]
(merge
Expand Down
3 changes: 2 additions & 1 deletion src/quo/components/banners/alert_banner/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
[{:keys [action? text button-text text-number-of-lines container-style on-button-press]}]
(let [theme (quo.theme/use-theme)]
[rn/view
{:accessibility-label :alert-banner}
{:accessibility-label :alert-banner
:style (style/alert-banner-container theme)}
[linear-gradient/linear-gradient
{:style (style/container container-style)
:start {:x 0 :y 0}
Expand Down