Remove position: relative in unneeded places

- relative positioning causes it to create its own box, so
it gets its on z-index, removing this prevents it from showing
above the label modal.
This commit is contained in:
Jackson Harper
2023-04-13 11:51:55 +08:00
parent 938a1a6516
commit 3c7ab5d77e
2 changed files with 1 additions and 5 deletions

View File

@ -18,10 +18,7 @@ export function ArticleSubtitle(props: ArticleSubtitleProps): JSX.Element {
return (
<Box>
<StyledText style={textStyle} css={{ wordBreak: 'break-word' }}>
{subtitle}{' '}
{subtitle && (
<span style={{ position: 'relative', bottom: 1 }}> </span>
)}{' '}
{subtitle} {subtitle && <span style={{ bottom: 1 }}> </span>}{' '}
{!props.hideButton && !shouldHideUrl(props.href) && (
<>
<StyledLink

View File

@ -260,7 +260,6 @@ on smaller screens we display the note icon
.article-inner-css sup,
.article-inner-css sub {
position: relative;
a {
color: inherit;
pointer-events: none;