-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.tsx
More file actions
37 lines (33 loc) · 819 Bytes
/
style.tsx
File metadata and controls
37 lines (33 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { styled } from 'styled-components';
import { StyledText } from '@components/Text/StyledText';
export const UserProfileLayout = styled.section`
display: flex;
flex-direction: row;
`;
export const UserImg = styled.img`
width: 4.5rem;
height: 4.5rem;
object-fit: cover;
border-radius: 50%;
box-shadow:
0px 2px 8px 0px rgba(0, 0, 0, 0.12),
0px 1px 4px 0px rgba(0, 0, 0, 0.08),
0px 0px 1px 0px rgba(0, 0, 0, 0.08);
`;
export const UserDetailsContainer = styled.section`
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
gap: 0.5rem;
margin-left: 1rem;
`;
export const StyledBio = styled(StyledText)`
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
max-width: 15.5rem;
width: 100%;
text-overflow: ellipsis;
`;