Skip to content

Commit

Permalink
css fix for forum
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesssalai committed Jul 26, 2024
1 parent 26c2d05 commit cf8b448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/forumcards/ForumCards.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.forum-card {
min-width: 540px;
display: grid;
margin: 8px 8px 8px 8px;
border: 1px solid #eee;
Expand Down
1 change: 1 addition & 0 deletions src/pages/forumpost/ForumPost.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ function ForumPostPage() {

try {
await deleteDoc(doc(db, 'Forum', postID));
navigate('/');
} catch (err) {
console.log(err.message);
}
Expand Down

0 comments on commit cf8b448

Please sign in to comment.