Skip to content

Commit

Permalink
Merge pull request #22 from EvanNotFound/dev
Browse files Browse the repository at this point in the history
v0.4.1
  • Loading branch information
EvanNotFound authored Dec 17, 2022
2 parents 1d53daa + 190be57 commit 83a996c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,4 @@ footer:
# ---------------------------------------------------------------------------------------
# Redefine Theme version (Please don't modify)
# ---------------------------------------------------------------------------------------
version: 0.4.0
version: 0.4.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-redefine",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"description": "\"Redefine\" hexo theme is a simple & fast & pure theme, but with no compromise.",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion source/css/common/variables.styl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ $component-spacing-value = 38px; // component-sp

// main content max width
$temp-content-max-width = hexo-config('style.content_max_width')
$content-max-width = $temp-content-max-width ? convert($temp-content-max-width) : 1200px
$content-max-width = $temp-content-max-width ? convert($temp-content-max-width) : 1000px
$has-toc-content-max-width = $content-max-width * 1.2


// ========================================================================================
Expand Down
2 changes: 1 addition & 1 deletion source/css/layout/page.styl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
}

&.has-toc{
max-width $content-max-width *1.2 !important
max-width $has-toc-content-max-width !important
}
}

Expand Down

0 comments on commit 83a996c

Please sign in to comment.