Skip to content

Commit 540d014

Browse files
Update chat.css
1 parent 6fbb7c4 commit 540d014

File tree

1 file changed

+0
-118
lines changed

1 file changed

+0
-118
lines changed

src/components/chat/chat.css

-118
Original file line numberDiff line numberDiff line change
@@ -42,123 +42,5 @@
4242
}
4343
}
4444
}
45-
.icons{
46-
display: flex;
47-
gap: 20px;
48-
49-
img{
50-
width: 20px;
51-
height: 20px;
52-
}
53-
}
54-
}
55-
.center{
56-
padding: 20px;
57-
flex: 1;
58-
overflow: scroll;
59-
overflow-x: hidden;
60-
display: flex;
61-
flex-direction: column;
62-
gap: 20px;
63-
64-
.message{
65-
max-width: 70%;
66-
display: flex;
67-
gap: 20px;
68-
69-
&.own{
70-
align-self: flex-end;
71-
72-
.texts{
73-
p{
74-
background-color: #5183fe;
75-
}
76-
}
77-
}
78-
img{
79-
width: 30px;
80-
height: 30px;
81-
border-radius: 50%;
82-
object-fit: cover;
83-
}
84-
.texts{
85-
flex: 1;
86-
display: flex;
87-
flex-direction: column;
88-
gap: 5px;
89-
90-
img{
91-
width: 100%;
92-
height: 300px;
93-
border-radius: 10px;
94-
object-fit: cover;
95-
}
96-
97-
p{
98-
padding: 20px;
99-
background-color: rgba(17, 25, 40, 0.3);
100-
border-radius: 10px;
101-
text-align: left;
102-
}
103-
span{
104-
font-size: 13px;
105-
}
106-
}
107-
}
108-
}
109-
.bottom{
110-
padding: 20px;
111-
display: flex;
112-
align-items: center;
113-
justify-content: space-between;
114-
border-top: 1px solid #dddddd35;
115-
gap:20px;
116-
margin-top: auto;
117-
118-
.icons{
119-
display: flex;
120-
gap: 20px;
121-
}
122-
img{
123-
width: 20px;
124-
height: 20px;
125-
cursor: pointer;
126-
}
127-
input{
128-
flex: 1;
129-
background-color: rgba(17, 25, 40, 0.5);
130-
border: none;
131-
outline: none;
132-
color: white;
133-
padding: 12px;
134-
border-radius: 8px;
135-
font-size: 12px;
136-
137-
&:disabled{
138-
cursor: not-allowed;
139-
}
140-
}
141-
.emoji{
142-
position: relative;
143-
144-
.picker{
145-
position: absolute;
146-
bottom: 40px;
147-
left: 0;
148-
}
149-
}
150-
.sendButton{
151-
background-color: #5183fe;
152-
color: white;
153-
padding: 10px;
154-
border: none;
155-
border-radius: 5px;
156-
cursor: pointer;
157-
158-
&:disabled{
159-
background-color: #5182feb4;
160-
cursor: not-allowed;
161-
}
162-
}
16345
}
16446
}

0 commit comments

Comments
 (0)