From 727e2cd2ffda1eb155a6b44057826ce5041baed6 Mon Sep 17 00:00:00 2001 From: Edd Date: Mon, 13 Mar 2023 11:08:53 +0000 Subject: [PATCH] fix(explorer): neaten validators mobile view (#3160) Co-authored-by: asiaznik --- .../app/routes/validators/validators-page.tsx | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/apps/explorer/src/app/routes/validators/validators-page.tsx b/apps/explorer/src/app/routes/validators/validators-page.tsx index cf70d1547..e9ee92a4d 100644 --- a/apps/explorer/src/app/routes/validators/validators-page.tsx +++ b/apps/explorer/src/app/routes/validators/validators-page.tsx @@ -176,25 +176,14 @@ export const ValidatorsPage = () => { const validatorName = v.name && v.name.length > 0 ? v.name : truncateMiddle(v.id); return ( -
  • +
  • - {v.avatarUrl && ( -
    - - {validatorName} - -
    - )}
    -

    +

    {validatorName} @@ -315,6 +304,23 @@ export const ValidatorsPage = () => {

    + {v.avatarUrl && ( + +
    {t('Avatar')}
    +
    + + {validatorName} + +
    +
    + )}