Browse Source

fix: sidebar icons mweb

AykutSarac 2 năm trước cách đây
mục cha
commit
0aa2b6c5e8
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  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;
-    }
   }
 `;