Skip to content

Commit

Permalink
Merge branch 'feat/post' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazi7 committed Dec 2, 2024
2 parents 344a7b9 + 8da5b6f commit ee49173
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .husky/_/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
#!/usr/bin/env sh
. "$(dirname "$0")/h"
. "$(dirname "$0")/h"

echo "Running pre-commit checks..."

if npx lint-staged; then
echo "Pre-commit checks passed."
exit 0
else
echo "Pre-commit checks failed. Please fix the issues and try again."
exit 1
fi
4 changes: 4 additions & 0 deletions src/features/post/components/sidebar/PrimarySidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const isOpen = ref(true);
border-radius: 0 0 0 1rem;
padding: 1rem;
@media (max-width: 768px) {
display: none;
}
&__group {
margin-bottom: 1rem;
}
Expand Down
4 changes: 4 additions & 0 deletions src/features/post/components/sidebar/SecondarySidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ const isTocOpen = ref(true);
padding: 1rem;
overflow-y: auto;
@media (max-width: 768px) {
display: none;
}
&__group {
margin-bottom: 1rem;
}
Expand Down

0 comments on commit ee49173

Please sign in to comment.