Skip to content

Commit

Permalink
tweaks with peter
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass committed Jul 18, 2024
1 parent 1857fbe commit c9e66c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/journey-manager/src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ button {
.highlight {
position: absolute;
border-radius: 10%;
border-radius: 5px;
animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
`;
Expand Down Expand Up @@ -417,10 +417,10 @@ const Highlight: FunctionComponent<{ element: HTMLElement }> = ({
style={
rect != null
? {
top: `${rect.y}px`,
left: `${rect.x}px`,
height: `${rect.height}px`,
width: `${rect.width}px`,
top: `${rect.y - 1}px`,
left: `${rect.x - 1}px`,
height: `${rect.height + 2}px`,
width: `${rect.width + 2}px`,
}
: {}
}
Expand Down

0 comments on commit c9e66c8

Please sign in to comment.