Skip to content

Commit

Permalink
fix: main header css
Browse files Browse the repository at this point in the history
  • Loading branch information
esthel7 authored and 5nxtnxtnxt committed Dec 3, 2023
1 parent cf583c0 commit c21a395
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions front/src/pages/Main/MainButtonBox.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { useState, useRef } from 'react';
import styled from 'styled-components';
import { Container } from '../../utils';
import { HeaderText } from '../../components';
import MenuModal from './MenuModal';
import ListMsg from './ListMsg';
import { HeaderText } from '../../components';

const StyledHeader = styled.div`
padding-top: 4.2rem;
`;

const StyledMenu = styled.img`
position: fixed;
Expand Down Expand Up @@ -76,9 +73,9 @@ const MainButtonBox = (props: MainButtonBoxProps) => {
<>
{!screen ? (
<>
<StyledHeader>
<Container>
<HeaderText Ref={headerRef} userName="test" />
</StyledHeader>
</Container>

<StyledMenu
ref={menuRef}
Expand Down

0 comments on commit c21a395

Please sign in to comment.