mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 04:27:26 +08:00
docs(components): check docs before stable (#5740)
This commit is contained in:
@ -37,3 +37,29 @@ const state = reactive({
|
||||
|
||||
const { circleUrl, squareUrl, sizeList } = toRefs(state)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-basic {
|
||||
text-align: center;
|
||||
}
|
||||
.demo-basic .sub-title {
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
color: var(--el-text-color-secondary);
|
||||
}
|
||||
.demo-basic .demo-basic--circle,
|
||||
.demo-basic .demo-basic--square {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.demo-basic .block:not(:last-child) {
|
||||
border-right: 1px solid var(--el-border-color-base);
|
||||
}
|
||||
.demo-basic .block {
|
||||
flex: 1;
|
||||
}
|
||||
.demo-basic .el-col:not(:last-child) {
|
||||
border-right: 1px solid var(--el-border-color-base);
|
||||
}
|
||||
</style>
|
||||
|
@ -16,3 +16,23 @@ const state = reactive({
|
||||
|
||||
const { fits, url } = toRefs(state)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-fit {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.demo-fit .block {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.demo-fit .title {
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
color: var(--el-text-color-secondary);
|
||||
}
|
||||
</style>
|
||||
|
@ -17,3 +17,17 @@
|
||||
<script setup lang="ts">
|
||||
import { UserFilled } from '@element-plus/icons-vue'
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-type {
|
||||
display: flex;
|
||||
}
|
||||
.demo-type > div {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.demo-type > div:not(:last-child) {
|
||||
border-right: 1px solid var(--el-border-color-base);
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user