Skip to content

Commit

Permalink
siv.org/faq: Submit-question input at top
Browse files Browse the repository at this point in the history
  • Loading branch information
arianabuilds committed Jun 15, 2024
1 parent 5338c0c commit d23068d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/faq/AddYourQuestion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { api } from '../api-helper'
export const AddYourQuestion = () => {
const [saved, setSaved] = useState(false)
return (
<div>
<div className="py-3">
<NoSsr>
<TextField
id="question-field"
Expand Down
5 changes: 3 additions & 2 deletions src/faq/FAQPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const FAQPage = (): JSX.Element => {
<main>
<section>
<h1>Frequently Asked Questions</h1>

<AddYourQuestion />

<div className="button-container">
<OnClickButton
style={{ margin: 0, padding: '5px 15px', textAlign: 'right' }}
Expand Down Expand Up @@ -83,8 +86,6 @@ export const FAQPage = (): JSX.Element => {
)}
</div>
))}

<AddYourQuestion />
</section>

<Footer />
Expand Down

0 comments on commit d23068d

Please sign in to comment.