Skip to content

Commit

Permalink
style: 모바일 UI 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyejun0228 committed Sep 1, 2023
1 parent d5b9f0e commit 068d2ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/pages/Home/Home.module.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
@use "src/utils/styles/mediaQuery.scss" as media;

.home {
width: 100%;
}

.map-container {
display: none;

@include media.media-breakpoint-up(mobile) {
position: absolute;
right: 24px;
top: 24px;
Expand All @@ -21,6 +26,7 @@
background-color: #ffffff99;
box-shadow: 1px 1px 10px 1px #0000001a;
cursor: pointer;
}

&__text {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useRef, useState } from 'react';
import { useEffect, useRef, useState } from 'react';
import axios from 'axios';
import { Container as MapDiv } from 'react-naver-maps';
import { ReactComponent as Arrow } from 'assets/svg/home/arrow.svg';
Expand Down

0 comments on commit 068d2ed

Please sign in to comment.