Skip to content

Commit

Permalink
improve exchange table responsive formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkunz committed Sep 18, 2023
1 parent cd9c099 commit 6a9be72
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/lib/explorer/ExchangeTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,25 @@

<style lang="postcss">
.exchange-table :global {
.exchange_name :global * {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (--viewport-sm-down) {
.exchange_name {
grid-column: 1/-1;
}
}
@media (--viewport-md-up) {
table {
table-layout: fixed;
}
.exchange_name {
width: 45%;
white-space: nowrap;
:global * {
overflow: hidden;
text-overflow: ellipsis;
}
}
.pair_count {
Expand Down

0 comments on commit 6a9be72

Please sign in to comment.