소스 검색

fix: sidebar icons mweb

AykutSarac 2 년 전
부모
커밋
0aa2b6c5e8
1개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 5
      src/components/Sidebar/index.tsx

+ 3 - 5
src/components/Sidebar/index.tsx

@@ -36,6 +36,9 @@ const StyledSidebar = styled.div`
 `;
 
 const StyledElement = styled.button`
+  display: flex;
+  align-items: center;
+  justify-content: center;
   height: 45px;
   font-size: 24px;
   font-weight: 600;
@@ -57,11 +60,6 @@ const StyledElement = styled.button`
 
   @media only screen and (max-width: 768px) {
     font-size: 22px;
-
-    svg {
-      padding: 8px 4px;
-      vertical-align: middle;
-    }
   }
 `;