Skip to content

Commit

Permalink
fix some customProperty ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish8689 committed Sep 30, 2024
1 parent 9734649 commit eec45d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export const PropertyValue: FC<PropertyValueProps> = ({
isTeam={item.type === 'team'}
name={item.name ?? ''}
type="circle"
width="18"
width="20"
/>
) : (
searchClassBase.getEntityIcon(item.type)
Expand Down Expand Up @@ -909,14 +909,14 @@ export const PropertyValue: FC<PropertyValueProps> = ({
icon={
<div
className="entity-button-icon m-r-xs"
style={{ width: '18px', display: 'flex' }}>
style={{ width: '20px', display: 'flex' }}>
{['user', 'team'].includes(item.type) ? (
<ProfilePicture
className="d-flex"
isTeam={item.type === 'team'}
name={item.name ?? ''}
type="circle"
width="18"
width="20"
/>
) : (
searchClassBase.getEntityIcon(item.type)
Expand Down Expand Up @@ -1111,7 +1111,7 @@ export const PropertyValue: FC<PropertyValueProps> = ({
if (isRenderedInRightPanel) {
return (
<div
className="custom-property-card"
className="custom-property-card-right-panel"
data-testid="custom-property-right-panel-card">
{isInlineProperty ? customPropertyInlineElement : customPropertyElement}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@
overflow-x: scroll;
}
}

.custom-property-card-right-panel {
overflow-x: scroll;
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export const INLINE_PROPERTY_TYPES = [
'dateTime-cp',
'duration',
'email',
'entityReference',
'integer',
'number',
'string',
Expand Down

0 comments on commit eec45d4

Please sign in to comment.