Skip to content

Commit

Permalink
fix(css): right sidebar height (#1617)
Browse files Browse the repository at this point in the history
Delete unused CSS variable for the height of the right sidebar.
Fixes #1616.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
kai687 and dependabot[bot] authored Dec 13, 2023
1 parent 66fab61 commit e29948d
Show file tree
Hide file tree
Showing 32 changed files with 562 additions and 563 deletions.
256 changes: 127 additions & 129 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sphinxawesome-theme"
version = "5.0.0"
version = "5.0.1"
description = "An awesome theme for the Sphinx documentation generator"
readme = "README.md"
authors = ["Kai Welke <[email protected]>"]
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
argcomplete==3.2.0 ; python_version == "3.8"
argcomplete==3.2.1 ; python_version == "3.8"
build==1.0.3 ; python_version == "3.8"
cachecontrol[filecache]==0.13.1 ; python_version == "3.8"
certifi==2023.11.17 ; python_version == "3.8"
Expand All @@ -10,7 +10,7 @@ colorama==0.4.6 ; python_version == "3.8" and (sys_platform == "win32" or os_nam
colorlog==6.8.0 ; python_version == "3.8"
crashtest==0.4.1 ; python_version == "3.8"
cryptography==41.0.7 ; sys_platform == "linux" and python_version == "3.8"
distlib==0.3.7 ; python_version == "3.8"
distlib==0.3.8 ; python_version == "3.8"
dulwich==0.21.7 ; python_version == "3.8"
fastjsonschema==2.19.0 ; python_version == "3.8"
filelock==3.13.1 ; python_version == "3.8"
Expand Down Expand Up @@ -48,5 +48,5 @@ trove-classifiers==2023.11.29 ; python_version == "3.8"
urllib3==2.1.0 ; python_version == "3.8"
userpath==1.9.1 ; python_version == "3.8"
virtualenv==20.25.0 ; python_version == "3.8"
xattr==1.0.0 ; sys_platform == "darwin" and python_version == "3.8"
xattr==0.10.1 ; sys_platform == "darwin" and python_version == "3.8"
zipp==3.17.0 ; python_version == "3.8"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 7 additions & 7 deletions src/sphinxawesome_theme/static/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sphinxawesome_theme/toc.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{#- Template for the on-page TOC -#}

<aside id="right-sidebar" class="hidden text-sm xl:block">
<div class="sticky top-16 -mt-10 max-h-[calc(var(--vh)-4rem)] overflow-y-auto pt-6 space-y-2">
<div class="sticky top-16 -mt-10 max-h-[calc(var(100vh)-5rem)] overflow-y-auto pt-6 space-y-2">
{%- block toc_before %}{%- endblock -%}
<p class="font-medium">On this page</p>
{{ toc }}
Expand Down
8 changes: 4 additions & 4 deletions src/theme-src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sphinxawesome-theme",
"version": "5.0.0",
"version": "5.0.1",
"scripts": {
"build": "NODE_ENV=production webpack",
"dev": "NODE_ENV=development webpack --watch --progress",
Expand All @@ -19,8 +19,8 @@
"clipboard": "^2.0.11"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@babel/core": "^7.23.6",
"@babel/preset-env": "^7.23.6",
"@fontsource/jetbrains-mono": "^5.0.18",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.10",
Expand All @@ -38,7 +38,7 @@
"postcss-import": "^15.1.0",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.9",
"stylelint": "^15.11.0",
Expand Down
Loading

0 comments on commit e29948d

Please sign in to comment.