From 831a593e9908be4b8d21e9decc458f975f39b09a Mon Sep 17 00:00:00 2001 From: kitajchuk Date: Thu, 29 Sep 2022 08:00:25 -0700 Subject: [PATCH] Better UI styling for mobile-level gateways trash button --- src/styles/_forms.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/styles/_forms.scss b/src/styles/_forms.scss index 131aee7..7077805 100644 --- a/src/styles/_forms.scss +++ b/src/styles/_forms.scss @@ -209,9 +209,13 @@ fieldset { transform: translate3d(50%, 50%, 0); @include mixins.small() { - top: 0; + top: auto; bottom: auto; - transform: translate3d(50%, -50%, 0); + transform: none; + position: relative; + margin-top: ui-vars.$px02; + display: flex; + margin-left: auto; } } @@ -220,7 +224,11 @@ fieldset { bottom: 25%; @include mixins.small() { + top: auto; bottom: auto; + transform: none; + position: relative; + margin-top: ui-vars.$px02; } } }