Merge branch 'stacked-media-fix' into 'develop'

Fix sensitive content z-order (when a sensitive status contains a sensitive quote)

Closes #1176

See merge request soapbox-pub/soapbox!1890
This commit is contained in:
Alex Gleason 2022-11-15 12:55:46 +00:00
commit ff117b4f6a
3 changed files with 3 additions and 3 deletions

View file

@ -103,7 +103,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
<StatusReplyMentions status={status} hoverable={false} />
<Stack className={classNames('relative', {
<Stack className={classNames('relative z-0', {
'min-h-[220px]': status.hidden,
})}
>

View file

@ -359,7 +359,7 @@ const Status: React.FC<IStatus> = (props) => {
<Stack
className={
classNames('relative', {
classNames('relative z-0', {
'min-h-[220px]': isUnderReview || isSensitive,
})
}

View file

@ -88,7 +88,7 @@ const DetailedStatus: React.FC<IDetailedStatus> = ({
<Stack
className={
classNames('relative', {
classNames('relative z-0', {
'min-h-[220px]': isUnderReview || isSensitive,
})
}