Skip to content

Commit

Permalink
Merge pull request #53 from OlegMakarenko/explorer-frontend/footer
Browse files Browse the repository at this point in the history
[explorer/frontend] fix: Account and Node page styles
  • Loading branch information
OlegMakarenko authored Sep 22, 2024
2 parents a0e13e1 + 77a94f0 commit 7036b17
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion explorer/frontend/pages/nodes/[publicKey].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Avatar from '@/components/Avatar';
import Field from '@/components/Field';
import Section from '@/components/Section';
import ValueCopy from '@/components/ValueCopy';
import styles from '@/styles/pages/AccountInfo.module.scss';
import styles from '@/styles/pages/NodeInfo.module.scss';
import Head from 'next/head';
import { useTranslation } from 'next-i18next';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
Expand Down
21 changes: 19 additions & 2 deletions explorer/frontend/styles/pages/AccountInfo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@
height: 23rem;
}

.name {
word-break: break-all;
.stateSectionCard {
height: 23rem;

.stateTable {
display: flex;
flex-flow: column wrap;
gap: $spacing-base;
height: 16rem;
overflow-x: auto;
}
}

@media #{$screen-mobile} {
Expand All @@ -32,4 +40,13 @@
.secondSectionCard {
height: auto;
}

.stateSectionCard {
height: auto;

.stateTable {
height: auto;
max-height: 30rem;
}
}
}
21 changes: 2 additions & 19 deletions explorer/frontend/styles/pages/NodeInfo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@
height: 23rem;
}

.stateSectionCard {
height: 23rem;

.stateTable {
display: flex;
flex-flow: column wrap;
gap: $spacing-base;
height: 16rem;
overflow-x: auto;
}
.name {
word-break: break-all;
}

@media #{$screen-mobile} {
Expand All @@ -40,13 +32,4 @@
.secondSectionCard {
height: auto;
}

.stateSectionCard {
height: auto;

.stateTable {
height: auto;
max-height: 30rem;
}
}
}

0 comments on commit 7036b17

Please sign in to comment.