mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
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:
parent
938a1a6516
commit
3c7ab5d77e
2 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue