From 6e085780387d394e83237f0b971ec0049f4b1dcc Mon Sep 17 00:00:00 2001 From: enzoggqs Date: Fri, 27 Jan 2023 18:33:00 -0300 Subject: [PATCH] Update BuyerFlow responsive screen --- src/components/BuyConfirmedComponent.vue | 31 ++++++++++++++++--- .../{AttentionModal.vue => CustomModal.vue} | 3 -- src/components/QrCodeComponent.vue | 2 +- src/components/TopBar.vue | 2 +- 4 files changed, 28 insertions(+), 10 deletions(-) rename src/components/{AttentionModal.vue => CustomModal.vue} (95%) diff --git a/src/components/BuyConfirmedComponent.vue b/src/components/BuyConfirmedComponent.vue index cfc67cd..e2ea805 100644 --- a/src/components/BuyConfirmedComponent.vue +++ b/src/components/BuyConfirmedComponent.vue @@ -16,7 +16,7 @@ const emit = defineEmits(["makeAnotherTransaction"]); @@ -99,4 +102,22 @@ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; } + +.lg-view { + display: inline-block; +} + +.sm-view { + display: none; +} + +@media screen and (max-width: 500px) { + .lg-view { + display: none; + } + + .sm-view { + display: inline-block; + } +} diff --git a/src/components/AttentionModal.vue b/src/components/CustomModal.vue similarity index 95% rename from src/components/AttentionModal.vue rename to src/components/CustomModal.vue index 97d96e8..4a53ed9 100644 --- a/src/components/AttentionModal.vue +++ b/src/components/CustomModal.vue @@ -1,7 +1,4 @@