Skip to content

Commit bf7cbf1

Browse files
committed
Minor fixes
1 parent 6dd6d41 commit bf7cbf1

2 files changed

Lines changed: 22 additions & 6 deletions

File tree

index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,18 @@ <h3>Currency Converter</h3>
8282
</div>
8383

8484
<!-- Google Form -->
85-
<h2>Contact Me / Feedback</h2>
86-
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLScfWAPINsDLvZc2iI9vLljj6CE6rzHF5Xwe3WxP3fBT0rlH9w/viewform?embedded=true"
87-
width="640"
88-
height="1630"
85+
<h2>Contact Me / Feedback</h2>
86+
<div class="form-container">
87+
<iframe
88+
src="https://docs.google.com/forms/d/e/1FAIpQLScfWAPINsDLvZc2iI9vLljj6CE6rzHF5Xwe3WxP3fBT0rlH9w/viewform?embedded=true"
89+
width="100%"
90+
height="800"
8991
frameborder="0"
9092
marginheight="0"
91-
marginwidth="0"
92-
style="display:block; margin:auto;">
93+
marginwidth="0">
9394
Loading…
9495
</iframe>
96+
</div>
9597

9698
<!-- Contact Me Section -->
9799
<h2 style="text-align:center; margin-top:40px;">Contact Me</h2>

style.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,17 @@ h2 {
7272
font-size: 0.95rem;
7373
color: #ccc;
7474
}
75+
76+
.form-container {
77+
max-width: 500px; /* limits width */
78+
margin: 0 auto; /* centers it */
79+
border: 2px solid #ddd;
80+
border-radius: 10px;
81+
overflow: hidden;
82+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
83+
}
84+
85+
iframe {
86+
display: block;
87+
}
88+

0 commit comments

Comments
 (0)