From 21cc8a199a2b2d98e02475f7e68fb7797ee2f0bf Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Fri, 19 Jul 2024 08:13:50 +0400 Subject: [PATCH] fix: button width (#20792) * fix: button width (#20792) --- src/quo/components/drawers/bottom_actions/style.cljs | 3 +++ src/quo/components/drawers/bottom_actions/view.cljs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/quo/components/drawers/bottom_actions/style.cljs b/src/quo/components/drawers/bottom_actions/style.cljs index 9e958c69fe..2747053b7a 100644 --- a/src/quo/components/drawers/bottom_actions/style.cljs +++ b/src/quo/components/drawers/bottom_actions/style.cljs @@ -30,6 +30,9 @@ :padding-horizontal 20} container-style)) +(def button-container + {:flex-grow 1}) + (def description-top {:flex-direction :row :align-items :center diff --git a/src/quo/components/drawers/bottom_actions/view.cljs b/src/quo/components/drawers/bottom_actions/view.cljs index e3ef4ce46c..c79ec9ccd8 100644 --- a/src/quo/components/drawers/bottom_actions/view.cljs +++ b/src/quo/components/drawers/bottom_actions/view.cljs @@ -79,6 +79,7 @@ [button/button (merge {:size 40 + :container-style style/button-container :background (when (or blur? scroll?) :blur) :theme theme :accessibility-label :button-two} @@ -87,6 +88,7 @@ [button/button (merge {:size 40 + :container-style style/button-container :background (when (or blur? scroll?) :blur) :theme theme :accessibility-label :button-one}