Skip to content

Commit 6aa8611

Browse files
committed
CORE-1318
1 parent 27da5b7 commit 6aa8611

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/content/highlights/components/cardStyles.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,11 @@ const overlapDisplay = css`
6060
`;
6161

6262
const rightSideDisplay = css`
63-
left: unset;
64-
right: 0;
63+
left: calc(50% + (${contentTextWidth}rem / 2) + ${cardContentMargin}rem);
64+
right: unset;
6565
top: ${(props: CardProps) => `${props.topOffset || getHighlightBottomOffset(props.container, props.highlight)}px;`}
6666
${(props: CardProps) => !!props.isActive && css`
6767
left: calc(50% + (${contentTextWidth}rem / 2) + ${cardFocusedContentMargin}rem);
68-
right: unset;
6968
`}
7069
`;
7170

0 commit comments

Comments
 (0)