element-plus/ssr-testing/cases/scrollbar.vue
JeremyWuuuuu c2ecb3a773 test(ssr): add ssr testing cases
- Add more cases for running ssr tests
2022-03-18 16:53:37 +08:00

20 lines
428 B
Vue

<template>
<el-scrollbar height="400px">
<p v-for="item in 20" :key="item" class="scrollbar-demo-item">{{ item }}</p>
</el-scrollbar>
</template>
<style scoped>
.scrollbar-demo-item {
display: flex;
align-items: center;
justify-content: center;
height: 50px;
margin: 10px;
text-align: center;
border-radius: 4px;
background: var(--el-color-primary-light-9);
color: var(--el-color-primary);
}
</style>