From 4c57b7a00929c3191e67005326e66fa2ad95e2d0 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Wed, 26 Jul 2023 23:33:01 +0800 Subject: [PATCH] fix the border not show in some device --- src/styles/mobile/font-size-default.css | 2 +- src/styles/mobile/font-size-large.css | 2 +- src/styles/mobile/font-size-small.css | 2 +- src/styles/mobile/font-size-x-large.css | 2 +- src/styles/mobile/font-size-xx-large.css | 2 +- src/styles/mobile/font-size-xxx-large.css | 2 +- src/styles/mobile/font-size-xxxx-large.css | 2 +- src/views/mobile/transactions/ListPage.vue | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/styles/mobile/font-size-default.css b/src/styles/mobile/font-size-default.css index 0dcb11ad..0071a393 100644 --- a/src/styles/mobile/font-size-default.css +++ b/src/styles/mobile/font-size-default.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 16px; --ebk-transaction-day-of-week-font-size: 12px; --ebk-transaction-account-arrow-font-size: 12px; - --ebk-transaction-account-arrow-margin-bottom: 1px; + --ebk-transaction-account-arrow-margin-top: -1px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 30px; --ebk-license-content-font-size: 14px; diff --git a/src/styles/mobile/font-size-large.css b/src/styles/mobile/font-size-large.css index c3f7e0fe..7b583990 100644 --- a/src/styles/mobile/font-size-large.css +++ b/src/styles/mobile/font-size-large.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 17px; --ebk-transaction-day-of-week-font-size: 13px; --ebk-transaction-account-arrow-font-size: 13px; - --ebk-transaction-account-arrow-margin-bottom: 1px; + --ebk-transaction-account-arrow-margin-top: -2px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 31px; --ebk-license-content-font-size: 15px; diff --git a/src/styles/mobile/font-size-small.css b/src/styles/mobile/font-size-small.css index e3a55c36..0055665c 100644 --- a/src/styles/mobile/font-size-small.css +++ b/src/styles/mobile/font-size-small.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 16px; --ebk-transaction-day-of-week-font-size: 12px; --ebk-transaction-account-arrow-font-size: 12px; - --ebk-transaction-account-arrow-margin-bottom: 1px; + --ebk-transaction-account-arrow-margin-top: -1px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 30px; --ebk-license-content-font-size: 13px; diff --git a/src/styles/mobile/font-size-x-large.css b/src/styles/mobile/font-size-x-large.css index 51c94d40..b985597a 100644 --- a/src/styles/mobile/font-size-x-large.css +++ b/src/styles/mobile/font-size-x-large.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 18px; --ebk-transaction-day-of-week-font-size: 14px; --ebk-transaction-account-arrow-font-size: 14px; - --ebk-transaction-account-arrow-margin-bottom: 1px; + --ebk-transaction-account-arrow-margin-top: -2px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 32px; --ebk-license-content-font-size: 16px; diff --git a/src/styles/mobile/font-size-xx-large.css b/src/styles/mobile/font-size-xx-large.css index c02209fe..e29e7a98 100644 --- a/src/styles/mobile/font-size-xx-large.css +++ b/src/styles/mobile/font-size-xx-large.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 20px; --ebk-transaction-day-of-week-font-size: 15px; --ebk-transaction-account-arrow-font-size: 15px; - --ebk-transaction-account-arrow-margin-bottom: 2px; + --ebk-transaction-account-arrow-margin-top: -3px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 36px; --ebk-license-content-font-size: 17px; diff --git a/src/styles/mobile/font-size-xxx-large.css b/src/styles/mobile/font-size-xxx-large.css index 27a72e0e..72391b3b 100644 --- a/src/styles/mobile/font-size-xxx-large.css +++ b/src/styles/mobile/font-size-xxx-large.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 22px; --ebk-transaction-day-of-week-font-size: 17px; --ebk-transaction-account-arrow-font-size: 17px; - --ebk-transaction-account-arrow-margin-bottom: 2px; + --ebk-transaction-account-arrow-margin-top: -4px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 38px; --ebk-license-content-font-size: 19px; diff --git a/src/styles/mobile/font-size-xxxx-large.css b/src/styles/mobile/font-size-xxxx-large.css index f8fb7af9..33b13d39 100644 --- a/src/styles/mobile/font-size-xxxx-large.css +++ b/src/styles/mobile/font-size-xxxx-large.css @@ -73,7 +73,7 @@ --ebk-transaction-day-font-size: 24px; --ebk-transaction-day-of-week-font-size: 19px; --ebk-transaction-account-arrow-font-size: 19px; - --ebk-transaction-account-arrow-margin-bottom: 3px; + --ebk-transaction-account-arrow-margin-top: -4px; --ebk-login-page-title-font-size: 28px; --ebk-license-popup-title-font-size: 40px; --ebk-license-content-font-size: 21px; diff --git a/src/views/mobile/transactions/ListPage.vue b/src/views/mobile/transactions/ListPage.vue index a8eb8f88..b0bb2c3d 100644 --- a/src/views/mobile/transactions/ListPage.vue +++ b/src/views/mobile/transactions/ListPage.vue @@ -974,7 +974,7 @@ export default { .list.transaction-info-list li.transaction-info .transaction-footer .transaction-account-arrow { font-size: var(--ebk-transaction-account-arrow-font-size); margin-right: 4px; - margin-bottom: var(--ebk-transaction-account-arrow-margin-bottom); + margin-top: var(--ebk-transaction-account-arrow-margin-top); } .list.transaction-info-list li.transaction-info .transaction-amount {