Skip to content

Commit 582e216

Browse files
committed
fix(Feed): wrap stats
1 parent d60b79a commit 582e216

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

components/Feed.vue

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const head = computed(() => appStore.head)
1515
<template>
1616
<Flex tag="section" justify="center" wide :class="$style.wrapper">
1717
<Flex align="center" justify="between" gap="24" wide :class="$style.container">
18-
<Flex align="center" gap="20">
18+
<Flex align="center" gap="20" :class="$style.stats">
1919
<Flex align="center" gap="6" :class="$style.stat">
2020
<Icon name="tx" size="12" color="secondary" :class="$style.icon" />
2121
<Flex align="center" gap="4">
@@ -93,8 +93,6 @@ const head = computed(() => appStore.head)
9393
max-width: var(--base-width);
9494
height: 100%;
9595
96-
overflow: auto;
97-
9896
margin: 0 24px;
9997
10098
&::-webkit-scrollbar {
@@ -133,6 +131,24 @@ const head = computed(() => appStore.head)
133131
}
134132
}
135133
134+
@media (max-width: 900px) {
135+
.wrapper {
136+
height: initial;
137+
138+
padding: 12px 0;
139+
}
140+
141+
.container {
142+
flex-direction: column;
143+
}
144+
145+
.stats {
146+
width: 100%;
147+
justify-content: center;
148+
flex-wrap: wrap;
149+
}
150+
}
151+
136152
@media (max-width: 500px) {
137153
.container {
138154
margin: 0 12px;

0 commit comments

Comments
 (0)