Skip to content

Commit c3d45ce

Browse files
committed
Update tailwindcss to v3
1 parent dcf0b49 commit c3d45ce

File tree

7 files changed

+229
-292
lines changed

7 files changed

+229
-292
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"postcss-loader": "^4.2.0",
5151
"sass": "^1.34.1",
5252
"sass-loader": "^10.1.1",
53-
"tailwindcss": "^2.1.4",
53+
"tailwindcss": "^3.1.7",
5454
"tsconfig-paths-webpack-plugin": "^3.5.1",
5555
"typescript": "4.3.2"
5656
}

src/pages/about.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ tagline: **the future starts with you**.
4444
<h1 className="text-brand-gradient font-brand text-4xl text-center mt-10 mb-5 uppercase">
4545
About
4646
</h1>
47-
<div className="flex-grow">
47+
<div className="grow">
4848
<p className="font-sans text-white text-md mt-4 mx-6 sm:mx-10 md:mx-20 lg:w-7/12 lg:mx-auto">
4949
<ReactMarkdown
5050
children={aboutContent}
51-
className="text-white font-sans unreset markdown flex-grow"
51+
className="text-white font-sans unreset markdown grow"
5252
remarkPlugins={[remarkGfm, remarkSlug]}
5353
rehypePlugins={[rehypeRaw]}
5454
/>

src/pages/contact.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default class Contact extends Component<Props, States> {
278278
<form
279279
onSubmit={this.handleFormSubmit}
280280
id="contactForm"
281-
className="w-11/12 md:w-9/12 lg:w-7/12 xl:w-6/12 2xl:w-5/12 mx-auto px-3 md:px-10 flex-grow mt-4"
281+
className="w-11/12 md:w-9/12 lg:w-7/12 xl:w-6/12 2xl:w-5/12 mx-auto px-3 md:px-10 grow mt-4"
282282
>
283283
<ThemeProvider theme={muiTheme}>
284284
<div className="flex justify-center py-1">

src/pages/privacy-policy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you have any questions regarding this policy, feel free to contact the Organi
6969
<p className="font-sans text-white text-md mt-4 mx-6 sm:mx-10 md:mx-20 lg:w-7/12 lg:mx-auto">
7070
<ReactMarkdown
7171
children={policyContent}
72-
className="text-white font-sans unreset markdown flex-grow"
72+
className="text-white font-sans unreset markdown grow"
7373
remarkPlugins={[remarkGfm, remarkSlug]}
7474
rehypePlugins={[rehypeRaw]}
7575
/>

src/ui/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const Footer: React.FC<FooterProps> = (props) => {
3232
</span>
3333
</div>
3434
</div>
35-
<div className="md:justify-end flex-grow md:pl-5 pt-2 md:pt-0">
35+
<div className="md:justify-end grow md:pl-5 pt-2 md:pt-0">
3636
<p
3737
className={`font-sans font-light text-md text-center md:text-right ${styles.FooterTextShadow}`}
3838
>

src/ui/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const Navbar: React.FC<NavbarProps> = ({ className = '' }) => {
4646
</span>
4747
</Link>
4848

49-
<div className="flex-grow" />
49+
<div className="grow" />
5050

5151
<div className="hidden md:flex justify-end items-center">
5252
{links.map((link: PageData, i: number) => (

0 commit comments

Comments
 (0)