diff --git a/src/components/BottomNavbar/styles.ts b/src/components/BottomNavbar/styles.ts index 06b24b4..60bf7a5 100644 --- a/src/components/BottomNavbar/styles.ts +++ b/src/components/BottomNavbar/styles.ts @@ -49,6 +49,7 @@ export const MobileNavbar = { font-family: var(--font-바른히피); font-size: ${(props: ActiveNav) => (props.active ? '2.3vh' : '2vh')}; opacity: ${(props: ActiveNav) => (props.active ? '1' : '.9')}; + background-color: ${(props: ActiveNav) => (props.active ? 'rgba(25, 118, 210, 0.04)' : 'none')}; font-weight: 600; min-width: 32px; width: 100%; diff --git a/src/components/PaperBox/styles.ts b/src/components/PaperBox/styles.ts index 0982bdd..d653b37 100644 --- a/src/components/PaperBox/styles.ts +++ b/src/components/PaperBox/styles.ts @@ -14,7 +14,7 @@ type Group = { const styles = { Icon: styled.span``, Group: styled(Paper)` - padding: 0.2em 0.5em 0 0.5em; + padding: 0.2em 0.5em; margin: 1vh 0; background-color: ${(props: Group) => props.color || '#e0e0e0'}; border-radius: 0.3em; diff --git a/src/components/PaperList/AlertList/styles.ts b/src/components/PaperList/AlertList/styles.ts index 7f602a4..1783156 100644 --- a/src/components/PaperList/AlertList/styles.ts +++ b/src/components/PaperList/AlertList/styles.ts @@ -1,5 +1,6 @@ import styled from '@emotion/styled'; import { Content as _Content } from '../styles'; +import { Button } from '@mui/material'; type GroupProps = { backgroundColor?: boolean; @@ -26,8 +27,9 @@ export const Time = styled.span` margin-right: 1rem; `; -export const AlertFullArrow = styled.div` +export const AlertFullArrow = styled(Button)` display: flex; justify-content: center; - margin-bottom: 0.6rem; + padding: 1vh 0; + width: 100%; `; diff --git a/src/main.tsx b/src/main.tsx index 0200489..73a80ea 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -17,7 +17,6 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( - , ); diff --git a/src/pages/MainPage/Calendar/Calendar.css b/src/pages/MainPage/Calendar/Calendar.css index e4f51b7..505ded7 100644 --- a/src/pages/MainPage/Calendar/Calendar.css +++ b/src/pages/MainPage/Calendar/Calendar.css @@ -5,6 +5,7 @@ background: white; font-family: Arial, Helvetica, sans-serif; line-height: 1.125em; + overflow: hidden; } /* 요일 칸에 abbr태그의 기본 속성인 밑줄 제거 */ diff --git a/src/pages/MainPage/Calendar/index.tsx b/src/pages/MainPage/Calendar/index.tsx index c9f530e..895da2d 100644 --- a/src/pages/MainPage/Calendar/index.tsx +++ b/src/pages/MainPage/Calendar/index.tsx @@ -5,7 +5,7 @@ import { TileArgs } from 'react-calendar/dist/cjs/shared/types'; import EventDetail from '../CalendarEventDetail'; import { CalendarStick, StickWrapper } from '../styles'; import './Calendar.css'; -// import { Image } from './styles'; +import s from './styles'; const RCalendar = memo(({ state }: { state: string }) => { const [currentDate, setCurrentMonth] = useState(new Date()); @@ -83,7 +83,7 @@ const RCalendar = memo(({ state }: { state: string }) => { /** TODO: 투명도 적용한 image로 교체, css에서 .react-calendar__month-view의 backImg로 설정 */ return ( -