Skip to content

Commit b7c2bd1

Browse files
committed
docs(example): Improve example site header responsiveness
1 parent 126b439 commit b7c2bd1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
href="./logo.png"
2222
type="image/x-icon"
2323
>
24-
<title>React Simple Modal</title>
24+
<title>React Simple Hook Modal</title>
2525
</head>
2626

2727
<body>

example/src/Header.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export const Header = () => {
77
return (
88
<div className="bg-blue-800 text-white py-24 text-center md:text-right">
99
<div className="container">
10-
<div className="flex flex-col md:flex-row items-center">
11-
<div className="flex-1 md:pr-16">
12-
<h1 className="mb-4 text-5xl font-bold">React Simple Modal</h1>
13-
<div className="flex flex-row items-center justify-center md:justify-end pb-8">
10+
<div className="flex flex-col lg:flex-row items-center">
11+
<div className="lg:pr-16">
12+
<h1 className="mb-4 text-5xl font-bold">React Simple Hook Modal</h1>
13+
<div className="flex flex-row items-center justify-center lg:justify-end pb-8">
1414
<FaGithub className="inline" />
1515
<a
1616
className="ml-2 hover:text-blue-300 transition transition-colors duration-200"

0 commit comments

Comments
 (0)