Skip to content

Commit

Permalink
Merge pull request #19 from NewWays-TechForImpactKAIST/feat/fix-layou…
Browse files Browse the repository at this point in the history
…t-width
  • Loading branch information
withSang authored Nov 22, 2023
2 parents f74fe5d + a72b51e commit 7690fb0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
type="text/css"
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css"
/>
<link
href="
https://cdn.jsdelivr.net/npm/[email protected]/reset.min.css
"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>뉴웨이즈 다양성 평가 리포트</title>
</head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/organisms/LocalSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const LocalSelector = ({ selected, onClick = () => {} }: Props) => (
@media (max-width: 768px) {
width: 80%;
}
width: 30%;
width: 50%;
height: 20pt;
border-radius: 5pt;
background-color: white;
Expand Down Expand Up @@ -58,7 +58,7 @@ const LocalSelector = ({ selected, onClick = () => {} }: Props) => (
@media (max-width: 768px) {
width: 80%;
}
width: 30%;
width: 50%;
.local {
fill: ${MetroInfo[selected]?.color || "#4CC9F0"};
stroke: #080808;
Expand Down
4 changes: 2 additions & 2 deletions src/components/organisms/MetroSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const MetroSelector = ({ onClick = () => {} }: Props) => {
@media (max-width: 768px) {
width: 80%;
}
width: 30%;
width: 50%;
height: 20pt;
border-radius: 5pt;
background-color: white;
Expand Down Expand Up @@ -59,7 +59,7 @@ const MetroSelector = ({ onClick = () => {} }: Props) => {
@media (max-width: 768px) {
width: 80%;
}
width: 30%;
width: 50%;
.metro {
-webkit-transition:
fill 0.2s,
Expand Down
20 changes: 7 additions & 13 deletions src/components/templates/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import { Col, ConfigProvider, Layout, Row } from "antd";
import { css } from "@emotion/react";
import { Header, Footer } from "@/components/organisms";

const { Content } = Layout;
Expand Down Expand Up @@ -29,21 +30,14 @@ const NewwaysLayout = ({ children }: Props) => (
<Layout className="layout">
<Header />
<Row justify="center">
<Col span={22}>
{/* breakpoint: 768px */}
<Col span={22} md={11}>
<Content
style={{ padding: "0", display: "flex", justifyContent: "center" }}
css={css`
padding: 0;
`}
>
<div
className="site-layout-content"
style={{
background: "#00E9A1",
maxWidth: "800px",

// alignItems: "center",
}}
>
{children}
</div>
{children}
</Content>
</Col>
</Row>
Expand Down

0 comments on commit 7690fb0

Please sign in to comment.