Skip to content

Commit

Permalink
style:调整发布界面样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazi7 committed Dec 2, 2024
1 parent b0521f7 commit 8da5b6f
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 8da5b6f

Please sign in to comment.