diff --git a/scripts/filters/post.js b/scripts/filters/post.js
index 5fb10ac..2faa1f9 100644
--- a/scripts/filters/post.js
+++ b/scripts/filters/post.js
@@ -17,7 +17,7 @@ hexo.extend.filter.register('after_post_render', data => {
// External URL icon
const exturlIcon = theme.exturl_icon ? '' : '';
data.content = data.content.replace(/]*\shref="([^"]+)"[^>]*>([^<]+)<\/a>/ig, (match, href, html) => {
- // Exit if the href attribute doesn't exists.
+ // Exit if the href attribute doesn't exist.
if (!href) return match;
// Exit if the url has same host with `config.url`, which means it's an internal link.
diff --git a/source/css/_common/scaffolding/tags/note.styl b/source/css/_common/scaffolding/tags/note.styl
index 2e7c145..c732394 100644
--- a/source/css/_common/scaffolding/tags/note.styl
+++ b/source/css/_common/scaffolding/tags/note.styl
@@ -5,7 +5,7 @@ if (hexo-config('note.style') != 'disabled') {
border-radius: $note-border-radius;
margin-bottom: 20px;
- padding: 1em;
+ padding: 1em 1em 0;
position: relative;
if ($note-style == 'simple') {
@@ -39,16 +39,6 @@ if (hexo-config('note.style') != 'disabled') {
padding-top: 0;
}
- p, ul, ol, table, pre, blockquote, img {
- &:first-child {
- margin-top: 0;
- }
-
- &:last-child {
- margin-bottom: 0;
- }
- }
-
if ($note-icons) {
&:not(.no-icon) {
padding-left: 2.5em;