File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ import { useChatBlastAudienceContent } from '@audius/common/hooks'
2
2
import { SquareSizes } from '@audius/common/models'
3
3
import { decodeHashId } from '@audius/common/utils'
4
4
import type { ChatBlast } from '@audius/sdk'
5
+ import { css } from '@emotion/native'
5
6
6
7
import { Flex , Text } from '@audius/harmony-native'
7
8
import { CollectionImageV2 } from 'app/components/image/CollectionImageV2'
8
9
import { TrackImageV2 } from 'app/components/image/TrackImageV2'
10
+ import { zIndex } from 'app/utils/zIndex'
9
11
10
12
export const ChatBlastSubHeader = ( { chat } : { chat : ChatBlast } ) => {
11
13
const {
@@ -16,7 +18,13 @@ export const ChatBlastSubHeader = ({ chat }: { chat: ChatBlast }) => {
16
18
useChatBlastAudienceContent ( { chat } )
17
19
const decodedId = decodeHashId ( audienceContentId ) ?? undefined
18
20
return (
19
- < Flex row backgroundColor = 'white' justifyContent = 'center' pb = 's' >
21
+ < Flex
22
+ row
23
+ backgroundColor = 'white'
24
+ justifyContent = 'center'
25
+ pb = 's'
26
+ style = { css ( { zIndex : zIndex . CHAT_BLAST_SUBHEADER } ) }
27
+ >
20
28
{ decodedId ? (
21
29
< Flex row gap = 'xs' >
22
30
{ audienceContentType === 'track' ? (
Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/no-duplicate-enum-values */
2
2
export enum zIndex {
3
3
CHAT_TAIL = - 10 ,
4
+ CHAT_BLAST_SUBHEADER = 1 ,
4
5
NOW_PLAYING_DRAWER = 3 ,
5
6
DOG_EAR = 4 ,
6
7
PLAY_BAR = 5 ,
You can’t perform that action at this time.
0 commit comments