diff --git a/package-lock.json b/package-lock.json index bdf232a7..398b7ab1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hexo-theme-redefine", - "version": "2.7.2", + "version": "2.7.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hexo-theme-redefine", - "version": "2.7.2", + "version": "2.7.3", "license": "GPL-3.0", "devDependencies": { "eslint": "^8.47.0", diff --git a/package.json b/package.json index d9039a3f..6b43ffe6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-redefine", - "version": "2.7.2", + "version": "2.7.3", "private": false, "description": "Redefine your writing with Hexo Theme Redefine.", "scripts": { diff --git a/source/css/common/markdown.styl b/source/css/common/markdown.styl index 3e8eb4e6..4a4d75e0 100755 --- a/source/css/common/markdown.styl +++ b/source/css/common/markdown.styl @@ -242,14 +242,10 @@ background-color var(--second-background-color) mjx-container - display inline-block - vertical-align baseline - width 100% + display inline overflow-x auto white-space nowrap - scrollbar-width: thin // For Firefox, if needed - text-align center /* Center the content */ - padding-bottom 8px + margin 0 0.2rem &:hover::-webkit-scrollbar-thumb border 3px solid rgba(183, 183, 183, 0.3) @@ -276,8 +272,12 @@ mjx-container[display="true"] display block justify-content center + vertical-align baseline overflow-x auto text-align center + white-space nowrap + scrollbar-width: thin // For Firefox, if needed + padding-bottom 8px &:hover::-webkit-scrollbar-thumb border 3px solid rgba(183, 183, 183, 0.3)