Skip to content

Commit 86abb3d

Browse files
committed
resize gif
Signed-off-by: Jess Chitas <[email protected]>
1 parent ead310b commit 86abb3d

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

src/.DS_Store

0 Bytes
Binary file not shown.

src/App.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,8 @@
142142

143143
/* ------------------------------ About Section ----------------------------- */
144144

145-
.demo,
146-
.about {
145+
.about, .demo {
147146
padding: 10%;
148-
}
149-
150-
.about {
151147
@media screen and (max-width: 1024px) {
152148
padding: 15% 10%;
153149
@media screen and (max-width: 500px) {
@@ -252,6 +248,11 @@
252248
margin-block-end: 0;
253249
}
254250

251+
.demo-header {
252+
text-align: center;
253+
}
254+
255+
255256
/* ------------------------------ Other Styles ------------------------------ */
256257

257258
button {

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function App() {
104104
<div className="demo viewport orange-background">
105105
<div className="demo-info">
106106
<h1 className="demo-header">Watch it in action</h1>
107-
<img src={demoGIF}></img>
107+
<img src={demoGIF} className="demo-gif"></img>
108108
</div>
109109
</div>
110110

src/assets/.DS_Store

0 Bytes
Binary file not shown.

src/assets/demo.gif

806 KB
Loading

0 commit comments

Comments
 (0)