Skip to content

Commit 43c6d7c

Browse files
guralbrianclaude
andcommitted
Fix Formspree email field and improve article tile responsiveness
- Fix Formspree form by changing email field name from "_replyto" to "email" - Improve article tile grid responsiveness with auto-fit and minmax - Use minmax(320px, 1fr) for better tile width adaptation - Remove conflicting fixed breakpoints in favor of fluid grid The tiles now properly adapt to available width without appearing too early. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6c70d62 commit 43c6d7c

5 files changed

Lines changed: 7 additions & 13 deletions

File tree

assets/css/custom.css

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,20 +1924,14 @@ main {
19241924

19251925
.portfolio-grid {
19261926
display: grid;
1927-
grid-template-columns: 1fr;
1927+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
19281928
gap: 2rem;
19291929
margin-bottom: 2rem;
19301930
}
19311931

1932-
@media (min-width: 950px) {
1933-
.portfolio-grid {
1934-
grid-template-columns: repeat(2, 1fr);
1935-
}
1936-
}
1937-
1938-
@media (min-width: 1500px) {
1932+
@media (max-width: 768px) {
19391933
.portfolio-grid {
1940-
grid-template-columns: repeat(3, 1fr);
1934+
grid-template-columns: 1fr;
19411935
}
19421936
}
19431937

assets/css/portfolio.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/* Portfolio Grid */
4040
.portfolio-grid {
4141
display: grid;
42-
grid-template-columns: repeat(3, 1fr);
42+
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
4343
gap: 1.5rem;
4444
margin-bottom: 3rem;
4545
}
@@ -194,9 +194,9 @@
194194
}
195195

196196
/* Responsive Design */
197-
@media (max-width: 1024px) {
197+
@media (max-width: 1200px) {
198198
.portfolio-grid {
199-
grid-template-columns: repeat(2, 1fr);
199+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
200200
}
201201
}
202202

layouts/_default/contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1 class="post-title">{{ .Title }}</h1>
1818

1919
<div class="form-group">
2020
<label for="email">Email address</label>
21-
<input type="email" name="_replyto" id="email" placeholder="your@email.here" required>
21+
<input type="email" name="email" id="email" placeholder="your@email.here" required>
2222
</div>
2323

2424
<div class="form-group">
-29 Bytes
Binary file not shown.
770 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)