Skip to content

Commit

Permalink
[CSS] Admin page와 css 동일하게 변경 (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
2hanbyeol1 authored Nov 18, 2023
1 parent 4653b42 commit 8acf38c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/component/order/Introduction.css

This file was deleted.

46 changes: 44 additions & 2 deletions src/component/order/Introduction.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
import { useEffect, useRef } from 'react';
import './Introduction.css';
import styled from 'styled-components';

const IntroductionContainer = styled.div`
text-align: center;
> p {
margin: 0;
line-height: 160%;
}
img {
width: 60%;
}
button {
appearance: auto;
text-rendering: auto;
color: buttontext;
letter-spacing: normal;
word-spacing: normal;
line-height: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: center;
align-items: flex-start;
cursor: default;
box-sizing: border-box;
background-color: buttonface;
margin: 0em;
padding-block: 1px;
padding-inline: 6px;
border: 1px outset buttonborder;
border-image: initial;
border-radius: 3px;
}
ul {
list-style: initial;
}
`;

// 상품 소개
export default function Introduction({ content }) {
const contentRef = useRef();
Expand All @@ -12,5 +54,5 @@ export default function Introduction({ content }) {
}
}, [content]);

return <div className='content-container' ref={contentRef} style={{ textAlign: 'center' }}></div>;
return <IntroductionContainer ref={contentRef} />;
}

0 comments on commit 8acf38c

Please sign in to comment.