We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27da5b7 commit 6aa8611Copy full SHA for 6aa8611
src/app/content/highlights/components/cardStyles.ts
@@ -60,12 +60,11 @@ const overlapDisplay = css`
60
`;
61
62
const rightSideDisplay = css`
63
- left: unset;
64
- right: 0;
+ left: calc(50% + (${contentTextWidth}rem / 2) + ${cardContentMargin}rem);
+ right: unset;
65
top: ${(props: CardProps) => `${props.topOffset || getHighlightBottomOffset(props.container, props.highlight)}px;`}
66
${(props: CardProps) => !!props.isActive && css`
67
left: calc(50% + (${contentTextWidth}rem / 2) + ${cardFocusedContentMargin}rem);
68
- right: unset;
69
`}
70
71
0 commit comments