Skip to content

Commit 1f934f6

Browse files
committed
fix responsive empty state for txs
1 parent 1fa21ed commit 1f934f6

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

components/modules/address/AddressOverview.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ const handleCopy = (target) => {
285285
</table>
286286
</div>
287287
288-
<Flex v-else align="center" justify="center" direction="column" gap="8" wide>
288+
<Flex v-else align="center" justify="center" direction="column" gap="8" wide :class="$style.empty">
289289
<Text size="13" weight="600" color="secondary" align="center"> No transactions </Text>
290290
<Text size="12" weight="500" height="160" color="tertiary" align="center" style="max-width: 220px">
291-
This block does not contain transactions of the selected type
291+
This address does not contain transactions of the selected type
292292
</Text>
293293
</Flex>
294294
@@ -472,6 +472,10 @@ const handleCopy = (target) => {
472472
padding: 4px 6px;
473473
}
474474
475+
.empty {
476+
padding-top: 16px;
477+
}
478+
475479
@media (max-width: 800px) {
476480
.content {
477481
flex-direction: column;

components/modules/block/BlockOverview.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ const handleCopy = (target) => {
326326
</table>
327327
</div>
328328
329-
<Flex v-else align="center" justify="center" direction="column" gap="8" wide>
329+
<Flex v-else align="center" justify="center" direction="column" gap="8" wide :class="$style.empty">
330330
<Text size="13" weight="600" color="secondary" align="center"> No transactions </Text>
331331
<Text size="12" weight="500" height="160" color="tertiary" align="center" style="max-width: 220px">
332332
This block does not contain transactions of the selected type
@@ -531,6 +531,10 @@ const handleCopy = (target) => {
531531
padding: 4px 6px;
532532
}
533533
534+
.empty {
535+
padding: 16px 0;
536+
}
537+
534538
@media (max-width: 800px) {
535539
.content {
536540
flex-direction: column;

0 commit comments

Comments
 (0)