Skip to content

Commit

Permalink
[new 'details' panel] UI fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
llj authored and 杨国璇 committed Oct 16, 2024
1 parent 99da5af commit fe63660
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions frontend/src/components/dirent-detail/detail-item/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
flex-shrink: 0;
}

.dirent-detail-item .dirent-detail-item-name-value {
line-height: 1.3;
margin-top: -1px;
}

.dirent-detail-item .dirent-detail-item-value {
width: 200px;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/dirent-detail/detail-item/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DetailItem = ({ readonly, field, className, children }) => {
return (
<div className={classnames('dirent-detail-item', className)}>
<div className="dirent-detail-item-name d-flex">
<Icon iconName={icon} />
<div><Icon iconName={icon} /></div>
<span className="dirent-detail-item-name-value">{field.name}</span>
</div>
<div className={classnames('dirent-detail-item-value', { 'editable': !readonly })} >
Expand Down

0 comments on commit fe63660

Please sign in to comment.