docs: fix some spacing styles (#7343)

This commit is contained in:
云游君 2022-04-24 00:56:03 +08:00 committed by GitHub
parent 9b23b1c9ec
commit c022b6cb94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View File

@ -21,7 +21,7 @@ defineProps({
<style lang="scss" scoped>
.example-showcase {
padding: 0.8rem;
padding: 1.5rem;
margin: 0.5px;
background-color: var(--bg-color);
}

View File

@ -131,11 +131,11 @@ const copyCode = async () => {
border-radius: var(--el-border-radius-base);
.op-btns {
padding: 0.3rem;
padding: 0.5rem;
display: flex;
align-items: center;
justify-content: flex-end;
height: 2rem;
height: 2.5rem;
.el-icon {
&:hover {

View File

@ -12,8 +12,8 @@ Element Plus uses a specific set of palettes to specify colors to provide a cons
position: relative;
border-radius: 4px;
padding: 20px;
margin: 5px 0;
height: 114px;
margin: 8px 0;
height: 100px;
box-sizing: border-box;
color: var(--el-color-white);
font-size: 14px;
@ -42,6 +42,10 @@ Element Plus uses a specific set of palettes to specify colors to provide a cons
}
}
}
.value {
margin-top: 2px;
}
}
.demo-color-box-lite {

View File

@ -7,7 +7,7 @@
border-collapse: collapse;
.#{$namespace}-icon {
color: var(--el-datepicker-icon-color);
color: getCssVar('datepicker', 'icon-color');
}
td {
@ -17,7 +17,7 @@
&.today {
.cell {
color: var(--el-color-primary);
color: getCssVar('color', 'primary');
font-weight: bold;
}
}