Skip to content

Commit

Permalink
search bar sitting next to posts, and correctly wrapping with decreas…
Browse files Browse the repository at this point in the history
…ed window size
  • Loading branch information
hdsteineke committed Feb 19, 2023
1 parent f78c2b8 commit 7f69b9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
margin-right: auto;
width: 300px;
}

.Feed {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function App() {
<img className={styles.Logo} src="./newlogo.png" />
</header>

<main>
<main className={styles.Feed}>
<Routes>
<Route
exact
Expand Down
1 change: 0 additions & 1 deletion src/components/SearchBar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.SearchBar {
display: flex;
margin-left: 50px;
}

.SearchForm {
Expand Down

0 comments on commit 7f69b9e

Please sign in to comment.