Skip to content

Commit

Permalink
Fix mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Sep 20, 2023
1 parent 9efe8ef commit e7a0750
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions src/components/transactions/TxSummary/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
}

.columnTemplate {
grid-template-columns: minmax(50px, 0.25fr) minmax(150px, 2fr) minmax(150px, 2fr) minmax(200px, 2fr) 1fr minmax(
60px,
0.5fr
) minmax(170px, 1fr);
grid-template-columns:
minmax(50px, 0.25fr) minmax(150px, 2fr) minmax(150px, 2fr) minmax(200px, 2fr) 1fr minmax(60px, 0.5fr)
minmax(170px, 1fr);
grid-template-areas: 'nonce type info date confirmations actions status';
}

Expand Down Expand Up @@ -45,7 +44,8 @@
gap: var(--space-1);
}

.columnTemplate {
.columnTemplate,
.columnTemplateShort {
grid-template-columns: repeat(12, auto);
grid-template-areas:
'nonce type type type type type type type type type type type'
Expand All @@ -56,18 +56,8 @@
'empty actions actions actions actions actions actions actions actions actions actions actions';
}

.columnTemplateWithoutNonce {
grid-template-columns: repeat(12, 1fr);
grid-template-areas:
'nonce type type type type type type type type type type type'
'empty info info info info info info info info info info info'
'empty date date date date date date date date date date date'
'empty confirmations confirmations confirmations confirmations confirmations confirmations confirmations confirmations confirmations confirmations confirmations'
'empty status status status status status status status status status status status'
'empty actions actions actions actions actions actions actions actions actions actions actions';
}

.columnTemplateTxHistory {
.columnTemplateTxHistory,
.columnTemplateTxHistoryShort {
grid-template-columns: repeat(12, 1fr);
grid-template-areas:
'nonce type type type type type type type type type type type'
Expand Down

0 comments on commit e7a0750

Please sign in to comment.