File tree Expand file tree Collapse file tree 5 files changed +33
-1
lines changed
pages/SocialPage/components/FriendChatList Expand file tree Collapse file tree 5 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const Message = styled.div`
6
6
border-radius: 12px;
7
7
white-space: pre-line;
8
8
margin: 16px 0;
9
+ z-index: 1;
9
10
`
10
11
export const IncomingMessage = styled ( Message ) `
11
12
width: fit-content;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export const SendMessageForm = styled.form`
11
11
display: flex;
12
12
align-items: center;
13
13
gap: 12px;
14
+ z-index: 1;
14
15
`
15
16
export const ChatInput = styled . input `
16
17
flex: 1;
Original file line number Diff line number Diff line change 1
1
import { styled } from 'styled-components'
2
2
import { HEADER_HEIGHT_LG } from '~constants/layout'
3
+ import DogHowling from '~assets/dog_howling.svg'
3
4
4
5
export const ChatModal = styled . div `
6
+ position: relative;
5
7
width: 100%;
6
8
height: 100%;
7
- background-color: ${ ( { theme } ) => theme . colors . grayscale . gc_4 } ;
8
9
padding: ${ HEADER_HEIGHT_LG } px 20px 0;
9
10
background-color: ${ ( { theme } ) => theme . colors . brand . lighten_3 } ;
10
11
overflow: auto;
12
+ &::after {
13
+ background: url(${ DogHowling } ) center/cover;
14
+ content: '';
15
+ width: 190px;
16
+ height: 260px;
17
+ position: fixed;
18
+ bottom: 95px;
19
+ left: 50%;
20
+ translate: -50%;
21
+ }
11
22
`
12
23
export const ProfileWrapper = styled . div `
13
24
display: flex;
Original file line number Diff line number Diff line change 1
1
import { styled } from 'styled-components'
2
2
3
3
export const FriendChatList = styled . div `
4
+ position: relative;
4
5
overflow: auto;
5
6
margin-top: 8px;
6
7
height: 100%;
You can’t perform that action at this time.
0 commit comments