From be50e0df231365226bac1b818e5b53a72c8943de Mon Sep 17 00:00:00 2001 From: Alberto Monterroso <14013679+Albermonte@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:19:23 -0600 Subject: [PATCH 1/4] Fix validator icon size when the original icon is not 1:1 --- src/components/staking/ValidatorIcon.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/staking/ValidatorIcon.vue b/src/components/staking/ValidatorIcon.vue index 45a9b6dee..47bd08db2 100644 --- a/src/components/staking/ValidatorIcon.vue +++ b/src/components/staking/ValidatorIcon.vue @@ -32,5 +32,6 @@ img, .identicon { width: var(--size); height: var(--size); display: block; + object-fit: contain; } From 87a46d21f6678efa951f79cc2f42121fbc6b898c Mon Sep 17 00:00:00 2001 From: Alberto Monterroso <14013679+Albermonte@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:07:25 -0600 Subject: [PATCH 2/4] fix: scrollbar was overflowing --- src/components/staking/ValidatorDetailsOverlay.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/staking/ValidatorDetailsOverlay.vue b/src/components/staking/ValidatorDetailsOverlay.vue index af089bc9e..9fddffb79 100644 --- a/src/components/staking/ValidatorDetailsOverlay.vue +++ b/src/components/staking/ValidatorDetailsOverlay.vue @@ -200,6 +200,7 @@ export default defineComponent({ .validator-details-overlay { max-height: calc(100% - 12rem); + padding-top: 1rem; &.no-button { max-height: 100%; From 63ce1e9b63586e149bbba6f40f34982a255e221f Mon Sep 17 00:00:00 2001 From: Alberto Monterroso <14013679+Albermonte@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:07:37 -0600 Subject: [PATCH 3/4] fix: font weight was not like in designs --- src/components/staking/ValidatorScoreDetails.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/staking/ValidatorScoreDetails.vue b/src/components/staking/ValidatorScoreDetails.vue index f5d5b6af4..e63c0beea 100644 --- a/src/components/staking/ValidatorScoreDetails.vue +++ b/src/components/staking/ValidatorScoreDetails.vue @@ -49,7 +49,7 @@
- {{ $t("Rates the pool's potential to harm the network, based on its size. ") }} + {{ $t("Rates the pool's potential to harm the network, based on its size.") }}
{{ dominanceStatus }} @@ -260,6 +260,7 @@ export default defineComponent({ opacity: 0; max-height: 0; + font-weight: 600; transition: opacity var(--transition-duration) var(--nimiq-ease), max-height var(--transition-duration) var(--nimiq-ease); From 4aa6f413841876bd3a794426e836ddcdda3d2ba4 Mon Sep 17 00:00:00 2001 From: Alberto Monterroso <14013679+Albermonte@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:34:05 -0600 Subject: [PATCH 4/4] chore: use nimiq.watch testnet again --- src/lib/ExplorerUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ExplorerUtils.ts b/src/lib/ExplorerUtils.ts index 87bdaec40..e848141ad 100644 --- a/src/lib/ExplorerUtils.ts +++ b/src/lib/ExplorerUtils.ts @@ -8,7 +8,7 @@ export function explorerTxLink(asset: CryptoCurrency, hash: string) { case CryptoCurrency.NIM: return config.environment === ENV_MAIN ? `https://nimiq.watch/#${hash}` - : `https://www.nimiqhub.com/tx/${hash}`; + : `https://test.nimiq.watch/#${hash}`; case CryptoCurrency.BTC: return `https://blockstream.info${config.environment === ENV_MAIN ? '' : '/testnet'}/tx/${hash}`; case CryptoCurrency.USDC: @@ -24,7 +24,7 @@ export function explorerAddrLink(asset: SwapAsset, address: string) { case SwapAsset.NIM: return config.environment === ENV_MAIN ? `https://nimiq.watch/#${address}` - : `https://www.nimiqhub.com/wallet/${address}`; + : `https://test.nimiq.watch/${address}`; case SwapAsset.BTC: return `https://blockstream.info${config.environment === ENV_MAIN ? '' : '/testnet'}/address/${address}`; case SwapAsset.USDC: