Skip to content

Commit e2c06c6

Browse files
authored
Fixed minor style issues (#7315)
1 parent 0c2551c commit e2c06c6

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

changelog/IFC-1780.fixed.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- Consistent font size for all events in the Proposed Change timeline
2+
- Proposed Change action buttons now keep their size and does not strectch anymore
3+
- Prevent overflow on the create new relationship button within the relationship input
4+
- fixed typos

frontend/app/src/entities/events/ui/event-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const EventCard = (props: EventType) => {
5959
<TimelineBorder />
6060

6161
<div className="flex grow gap-3 rounded-md border border-gray-200 bg-white p-2 shadow-xs">
62-
<div className="flex grow flex-col gap-2">
62+
<div className="flex grow flex-col gap-2 text-sm">
6363
{getEventComponent(props)}
6464

6565
<div className="flex justify-between text-gray-500">

frontend/app/src/entities/events/ui/proposed-change-events/proposed-change-event-title.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const ProposedChangeEventTitle = (props: ProposedChangeEventTitleProps) =
4343

4444
if (event === PROPOSED_CHANGE_APPROVALS_REVOKED) {
4545
return (
46-
<div className="text-gray-600">Changes occured in the source branch, approval revoked</div>
46+
<div className="text-gray-600">Changes occurred in the source branch, approval revoked</div>
4747
);
4848
}
4949

frontend/app/src/entities/nodes/relationships/ui/add-relationship-action.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const AddRelationshipAction: React.FC<AddRelationshipActionProps> = ({
2626
className="w-full border border-custom-blue-700/20 bg-custom-blue-700/10 text-custom-blue-700 enabled:hover:bg-custom-blue-700/20"
2727
onClick={() => setOpen(!open)}
2828
>
29-
+ Add new {schema.label}
29+
+ Add new <span className="truncate">{schema.label}</span>
3030
</Button>
3131

3232
<SlideOver

frontend/app/src/entities/proposed-changes/ui/proposed-change-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const ProposedChangeDetails = ({ className, ...props }: HTMLAttributes<HT
164164
</Card>
165165
)}
166166

167-
<div className={classNames("grid grid-cols-3 gap-2", className)} {...props}>
167+
<div className={classNames("grid grid-cols-3 items-start gap-2", className)} {...props}>
168168
<div className="col-start-1 col-end-3 space-y-2">
169169
{proposedChangesDetails?.description?.value && (
170170
<CardWithBorder contentClassName="" data-testid="pc-description">

0 commit comments

Comments
 (0)