Skip to content

Commit b04b45c

Browse files
committed
refactor: remove redundant slide animation from counter
1 parent fa535eb commit b04b45c

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

app/components/LocationCounter.vue

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,10 @@ watch(mapInstance, (map) => {
8383
outline="~ 1.5 neutral/8 offset--1.5"
8484
font-medium px-8 py-3 rounded-full pointer-events-auto shadow-lg
8585
>
86-
There are <span inline-flex items-baseline overflow-hidden><span :key="displayCount" class="animate-slide-in" inline-block tabular-nums>{{ displayCount }}</span></span> locations in this area
86+
There are <span tabular-nums>{{ displayCount }}</span> locations in this area
8787
</div>
8888
</div>
8989
</Transition>
9090
</template>
9191

92-
<style scoped>
93-
.animate-slide-in {
94-
animation: slideIn 0.15s ease-out;
95-
}
9692

97-
@keyframes slideIn {
98-
from {
99-
opacity: 0;
100-
transform: translateY(100%);
101-
}
102-
to {
103-
opacity: 1;
104-
transform: translateY(0);
105-
}
106-
}
107-
</style>

0 commit comments

Comments
 (0)