Skip to content

Commit c4930b5

Browse files
authored
Merge pull request #448 from EvanNotFound/dev
v2.7.3
2 parents abe688c + 40cb497 commit c4930b5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-redefine",
3-
"version": "2.7.2",
3+
"version": "2.7.3",
44
"private": false,
55
"description": "Redefine your writing with Hexo Theme Redefine.",
66
"scripts": {

source/css/common/markdown.styl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,10 @@
242242
background-color var(--second-background-color)
243243

244244
mjx-container
245-
display inline-block
246-
vertical-align baseline
247-
width 100%
245+
display inline
248246
overflow-x auto
249247
white-space nowrap
250-
scrollbar-width: thin // For Firefox, if needed
251-
text-align center /* Center the content */
252-
padding-bottom 8px
248+
margin 0 0.2rem
253249

254250
&:hover::-webkit-scrollbar-thumb
255251
border 3px solid rgba(183, 183, 183, 0.3)
@@ -276,8 +272,12 @@
276272
mjx-container[display="true"]
277273
display block
278274
justify-content center
275+
vertical-align baseline
279276
overflow-x auto
280277
text-align center
278+
white-space nowrap
279+
scrollbar-width: thin // For Firefox, if needed
280+
padding-bottom 8px
281281

282282
&:hover::-webkit-scrollbar-thumb
283283
border 3px solid rgba(183, 183, 183, 0.3)

0 commit comments

Comments
 (0)