Skip to content

Commit

Permalink
Responsive fixes for fork status page
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed Dec 8, 2023
1 parent 8819a45 commit 3ee5773
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/ForkClientUpgraded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:no-label-text="$t('nodes.none')"
:colors="['#00E396', '#FD6A6A']"
icon="mdi-directions-fork"
class="mr-1 mb-1"
class="mx-sm-1 mx-0 mb-1"
style="margin-left: 6px"
/>
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/ForkCountdownCard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-sheet class="pa-5 mx-1 mr-1 mb-1">
<v-sheet class="pa-5 mx-sm-1 mx-0 mb-1">
<h1 class="mb-3">ETC {{ nextFork.name }} Upgrade Countdown</h1>

<p>
Expand Down
2 changes: 1 addition & 1 deletion components/LiveStatsTable.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-card tile class="mx-1">
<v-card tile class="mx-sm-1 mx-0">
<v-card-title>
<v-icon class="mr-2">mdi-server-network</v-icon>
{{ title }}
Expand Down
2 changes: 1 addition & 1 deletion components/NodeOperatorsUpgradedCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:no-label-text="$t('nodes.none')"
:colors="['#00E396', '#FD6A6A']"
icon="mdi-directions-fork"
class="mr-1 mb-1"
class="mx-sm-1 mx-0 mb-1"
style="margin-left: 6px"
/>
</template>
Expand Down
11 changes: 6 additions & 5 deletions pages/fork/_name.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
type="table-heading, list-item-three-line, divider, table-thead, list-item-three-line, divider, list-item@4"
:loading="$fetchState.pending"
>
<v-container fluid>
<v-container fluid :class="{ 'pa-1': isMobile }">
<v-row>
<v-col cols="12">
<v-col cols="12" :class="{ 'pa-1': isMobile }">
<ForkCountdownCard
:latest-block-number="liveStats.latestBlockNumber"
/>
</v-col>
</v-row>
<v-row>
<v-col cols="12">
<v-col cols="12" :class="{ 'pa-1': isMobile }">
<LiveStatsTable
:nodes="liveStats.raw"
:last-updated="liveStats.now"
Expand All @@ -21,10 +21,10 @@
</v-col>
</v-row>
<v-row>
<v-col cols="12" md="6">
<v-col cols="12" md="6" :class="{ 'pa-1': isMobile }">
<ForkClientUpgraded :nodes="nodes" />
</v-col>
<v-col cols="12" md="6">
<v-col cols="12" md="6" :class="{ 'pa-1': isMobile }">
<NodeOperatorsUpgradedCard :operators="operators" />
</v-col>
</v-row>
Expand All @@ -34,6 +34,7 @@
:key="category"
cols="12"
md="6"
:class="{ 'pa-1': isMobile }"
>
<NodeOperatorsTable
:operators="categoryOperators"
Expand Down

0 comments on commit 3ee5773

Please sign in to comment.