Skip to content

Commit c828626

Browse files
committed
Fix min width, add the rest of the values
1 parent 5fed982 commit c828626

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

src/components/FeedbackPrompt.astro

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,32 @@ import { AstroIcon } from "~/components";
1818
<form>
1919
<fieldset>
2020
<div>
21-
<input type="radio" id="accurate" name="reason" />
21+
<input type="radio" id="accurate" value="accurate" name="reason" />
2222
<label for="accurate">Accurate</label>
2323
</div>
2424
<div>
25-
<input type="radio" id="easy-to-understand" name="reason" />
25+
<input
26+
type="radio"
27+
id="easy-to-understand"
28+
value="easy-to-understand"
29+
name="reason"
30+
/>
2631
<label for="easy-to-understand">Easy to understand</label>
2732
</div>
2833
<div>
29-
<input type="radio" id="solved-my-problem" name="reason" />
34+
<input
35+
type="radio"
36+
id="solved-my-problem"
37+
value="solved-my-problem"
38+
name="reason"
39+
/>
3040
<label for="solved-my-problem">Solved my problem</label>
3141
</div>
3242
<div>
3343
<input
3444
type="radio"
3545
id="helped-me-decide-to-use-the-product"
46+
value="solved-my-problem"
3647
name="reason"
3748
/>
3849
<label for="helped-me-decide-to-use-the-product"
@@ -67,15 +78,25 @@ import { AstroIcon } from "~/components";
6778
<label for="hard-to-understand">Hard to understand</label>
6879
</div>
6980
<div>
70-
<input type="radio" id="incorrect-information" name="reason" />
81+
<input
82+
type="radio"
83+
id="incorrect-information"
84+
value="incorrect-information"
85+
name="reason"
86+
/>
7187
<label for="incorrect-information">Incorrect information</label>
7288
</div>
7389
<div>
74-
<input type="radio" id="missing-the-information" name="reason" />
90+
<input
91+
type="radio"
92+
id="missing-the-information"
93+
value="missing-the-information"
94+
name="reason"
95+
/>
7596
<label for="missing-the-information">Missing the information</label>
7697
</div>
7798
<div>
78-
<input type="radio" id="other" name="reason" />
99+
<input type="radio" id="other" value="other" name="reason" />
79100
<label for="other">Other</label>
80101
<input
81102
type="text"

src/components/overrides/MarkdownContent.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const { tableOfContents } = Astro.props.entry.data;
4343
<ImageZoom />
4444
<div class="sl-markdown-content">
4545
<slot />
46-
<div class="block !mt-[1.5em] md:hidden">
46+
<div class="block !mt-[1.5em] min-[72rem]:hidden">
4747
<FeedbackPrompt />
4848
</div>
4949
</div>

0 commit comments

Comments
 (0)