Skip to content

Commit

Permalink
fix(ProCard.Descriptions): overwrite style not work when specify hash…
Browse files Browse the repository at this point in the history
…Priority=high in StyleProvider
  • Loading branch information
Carrotzpc committed Jul 30, 2024
1 parent fe0f8f1 commit ca2d3e1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/ProCard/Descriptions/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ export const useStyles = createStyles(
padding-top: 4px !important;
padding-bottom: 4px !important;
}
}
.${prefixCls}-descriptions-item {
&-container {
.${prefixCls}-descriptions-item-label {
overflow: hidden;
width: ${lableWidth}px;
white-space: nowrap;
}
.${prefixCls}-descriptions-item-content {
overflow: hidden;
display: inline-block;
.${prefixCls}-descriptions-item {
&-container {
.${prefixCls}-descriptions-item-label {
overflow: hidden;
width: ${lableWidth}px;
white-space: nowrap;
}
.${prefixCls}-descriptions-item-content {
overflow: hidden;
display: inline-block;
width: calc(100% - ${lableWidth}px);
width: calc(100% - ${lableWidth}px);
text-overflow: ellipsis;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
Expand Down

0 comments on commit ca2d3e1

Please sign in to comment.