Skip to content

Commit

Permalink
releases 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Sep 23, 2024
1 parent 188fd72 commit d091be9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-pc-ui",
"version": "4.2.1",
"version": "4.2.2",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
6 changes: 5 additions & 1 deletion packages/row/src/col.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ export default defineComponent({
'is--ellipsis': ellipsis
}],
style: colStyle
}, defaultSlot ? defaultSlot({}) : [])
}, [
h('div', {
class: 'vxe-col--inner'
}, defaultSlot ? defaultSlot({}) : [])
])
}

$xeCol.renderVN = renderVN
Expand Down
7 changes: 5 additions & 2 deletions styles/components/card.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vxe-card {
position: relative;
display: inline-flex;
flex-direction: column;
font-size: var(--vxe-ui-font-size-default);
Expand All @@ -10,8 +11,6 @@
box-shadow: var(--vxe-ui-base-popup-box-shadow);
}
&.is--padding {
.vxe-card--header,
.vxe-card--footer,
.vxe-card--body-content,
.vxe-card--body-left,
.vxe-card--body-right {
Expand All @@ -36,6 +35,10 @@
.vxe-card--header {
flex-shrink: 0;
}
.vxe-card--header,
.vxe-card--footer {
padding: var(--vxe-ui-card-padding);
}
.vxe-card--body {
overflow: hidden;
flex-grow: 1;
Expand Down
4 changes: 4 additions & 0 deletions styles/components/col.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ $colSpanList: 4.16667%, 8.33333%, 12.5%, 16.66667%, 20.83333%, 25%, 29.16667%, 3
}
}
}
.vxe-col--inner {
display: flex;
flex-direction: column;
}

0 comments on commit d091be9

Please sign in to comment.