Skip to content

Commit 6cb5b9b

Browse files
committed
refactor(Container): migrate from SCSS to Tailwind CSS
1 parent 29288b2 commit 6cb5b9b

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

src/components/Container/Container.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import PropTypes from "prop-types";
22

3-
import "./Container.scss";
3+
// Tailwind CSS is now used for styling. Custom SCSS removed.
44

55
export default function Container(props = {}) {
66
const { className = "" } = props;
77

8-
return <div className={`container ${className}`}>{props.children}</div>;
8+
return (
9+
<div className={`w-full max-w-[1024px] mx-auto ${className}`}>
10+
{props.children}
11+
</div>
12+
);
913
}
1014

1115
Container.propTypes = {

src/components/Container/Container.scss

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)