@@ -92,7 +92,7 @@ function Search({ onSearch }) {
9292 < div className = "username" > Dev Pioneer</ div >
9393 < div className = "lable-message" >
9494 Add Your Profile
95- < FaCheckCircle className = "ml-2 rounded-full border-[1px] border-[#0ea5e9] p-0.5 text-xl text-[#0ea5e9]" />
95+ < FaCheckCircle className = "ml-1.5 rounded-full border-[1px] border-[#0ea5e9] text-[#0ea5e9]" />
9696 </ div >
9797 < div className = "user-id" > @devpioneer</ div >
9898 </ div >
@@ -155,18 +155,19 @@ const StyledWrapper = styled.div`
155155 font-family: 'Merriweather Sans', sans-serif;
156156
157157 display: flex;
158+ flex-wrap: nowrap;
158159 justify-content: center;
159160 align-items: center;
160- gap: 14px ;
161+ gap: 10px ;
161162 height: 100%;
162163
163164 .developers-count {
164165 display: flex;
165166 align-items: center;
166- gap: 8px ;
167- height: 40px ;
168- padding: 6px 16px ;
169- font-size: 16px ;
167+ gap: 6px ;
168+ height: 34px ;
169+ padding: 5px 12px ;
170+ font-size: 14px ;
170171 font-weight: 600;
171172 color: var(--text-color, rgb(24, 186, 255));
172173 background-color: rgba(20, 29, 47, 1);
@@ -181,7 +182,7 @@ const StyledWrapper = styled.div`
181182 }
182183
183184 .developers-count-icon {
184- font-size: 14px ;
185+ font-size: 12px ;
185186 }
186187
187188 #btn-message {
@@ -190,7 +191,7 @@ const StyledWrapper = styled.div`
190191 --bg-color: rgba(20, 29, 47, 1);
191192 --bg-hover-color: rgba(20, 29, 47, 1);
192193 --online-status: rgb(24, 186, 255);
193- --font-size: 16px ;
194+ --font-size: 14px ;
194195 --btn-transition: all 0.2s ease-out;
195196 }
196197
@@ -209,18 +210,18 @@ const StyledWrapper = styled.div`
209210 background-color: var(--bg-color);
210211 border-radius: 68px;
211212 cursor: pointer;
212- padding: 6px 10px 6px 6px ;
213+ padding: 5px 10px 5px 5px ;
213214 width: fit-content;
214- height: 40px ;
215+ height: 34px ;
215216 border: 1px solid rgb(24, 186, 255); /* Thin border */
216217 overflow: hidden;
217218 position: relative;
218219 transition: var(--btn-transition);
219220 }
220221
221222 .button-message:hover {
222- height: 56px ;
223- padding: 8px 20px 8px 8px ;
223+ height: 48px ;
224+ padding: 7px 16px 7px 7px ;
224225 background-color: var(--bg-hover-color);
225226 transition: var(--btn-transition);
226227 }
@@ -230,16 +231,16 @@ const StyledWrapper = styled.div`
230231 }
231232
232233 .content-avatar {
233- width: 30px ;
234- height: 30px ;
234+ width: 24px ;
235+ height: 24px ;
235236 margin: 0;
236237 transition: var(--btn-transition);
237238 position: relative;
238239 }
239240
240241 .button-message:hover .content-avatar {
241- width: 40px ;
242- height: 40px ;
242+ width: 32px ;
243+ height: 32px ;
243244 }
244245
245246 .avatar {
@@ -310,6 +311,7 @@ const StyledWrapper = styled.div`
310311 opacity: 1;
311312 transform: scaleY(1);
312313 transition: var(--btn-transition);
314+ white-space: nowrap;
313315 }
314316
315317 .button-message:hover .username {
@@ -352,6 +354,36 @@ const StyledWrapper = styled.div`
352354 border-radius: 20px;
353355 }
354356
357+ /*==============================================*/
358+ @media (max-width: 640px) {
359+ gap: 8px;
360+
361+ #btn-message {
362+ --font-size: 11px;
363+ }
364+
365+ .button-message {
366+ height: 30px;
367+ padding: 4px 8px 4px 4px;
368+ }
369+
370+ .content-avatar {
371+ width: 20px;
372+ height: 20px;
373+ }
374+
375+ .developers-count {
376+ height: 30px;
377+ padding: 4px 10px;
378+ font-size: 11px;
379+ gap: 5px;
380+ }
381+
382+ .developers-count-icon {
383+ font-size: 10px;
384+ }
385+ }
386+
355387 /*==============================================*/
356388 @keyframes active-status {
357389 0% {
0 commit comments