File tree Expand file tree Collapse file tree 2 files changed +60
-5
lines changed Expand file tree Collapse file tree 2 files changed +60
-5
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ const ChatRoomList = () => {
272272 } catch {
273273 return '/default-room.png' ;
274274 }
275- } ;
275+
276276
277277 return (
278278 < div className = "chat-layout" >
@@ -287,7 +287,7 @@ const ChatRoomList = () => {
287287 < i className = "fa-solid fa-arrows-rotate" > </ i > 새로고침
288288 </ div >
289289 < div className = "create-room-btn" onClick = { handleCreateRoom } >
290- < i className = "fa-solid fa-plus" > </ i > 생성
290+ < i className = "fa-solid fa-plus" > </ i >
291291 </ div >
292292 </ div >
293293
Original file line number Diff line number Diff line change 542542 cursor : not-allowed;
543543}
544544
545- /* 채팅 상단 버튼 그룹 */
545+ /* 채팅 상단 버튼 그룹 수정 */
546546.chat-action-buttons {
547547 position : absolute;
548- top : 15 px ;
548+ top : 10 px ; /* 15px에서 10px로 변경 */
549549 right : 20px ;
550550 display : flex;
551- gap : 10 px ;
551+ gap : 5 px ; /* 10px에서 5px로 간격 줄임 */
552552 z-index : 10 ;
553553}
554554
11211121 right : 10px ;
11221122 flex-wrap : wrap;
11231123 }
1124+ }
1125+
1126+ /* 채팅방 생성 버튼만 따로 스타일링 */
1127+ .create-room-btn {
1128+ position : fixed;
1129+ left : 170px ; /* 150px에서 20px 증가 */
1130+ bottom : 20px ;
1131+ width : 50px ;
1132+ height : 50px ;
1133+ border-radius : 50% ;
1134+ background-color : var (--primary-green );
1135+ color : white;
1136+ display : flex;
1137+ justify-content : center;
1138+ align-items : center;
1139+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.2 );
1140+ z-index : 100 ;
1141+ transition : transform 0.2s ;
1142+ font-size : 20px ; /* + 기호 크기를 더 크게 조정 */
1143+ }
1144+
1145+ .create-room-btn ::before {
1146+ content : "+" ;
1147+ line-height : 0.8 ; /* 수직 정렬 조정 */
1148+ }
1149+
1150+ .create-room-btn * : not (::before ) {
1151+ display : none; /* ::before를 제외한 모든 요소 숨김 */
1152+ }
1153+
1154+ /* 새로고침/홈 버튼 스타일 수정 */
1155+ .refresh-btn ,
1156+ .home-btn {
1157+ position : static;
1158+ padding : 6px 12px ; /* 패딩 살짝 줄임 */
1159+ margin : 5px ; /* 마진 줄임 */
1160+ border-radius : 20px ;
1161+ font-size : 14px ;
1162+ display : inline-flex;
1163+ align-items : center;
1164+ justify-content : center;
1165+ gap : 3px ; /* 아이콘과 텍스트 사이 간격 줄임 */
1166+ }
1167+
1168+ /* 반응형 디자인에서 생성 버튼 위치 조정 */
1169+ @media (max-width : 768px ) {
1170+ .create-room-btn {
1171+ left : 130px ; /* 110px에서 20px 증가 */
1172+ }
1173+ }
1174+
1175+ @media (max-width : 576px ) {
1176+ .create-room-btn {
1177+ left : 70px ; /* 50px에서 20px 증가 */
1178+ }
11241179}
You can’t perform that action at this time.
0 commit comments