You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a table, sphinx-book-theme always expands it to take of the full width of the display, unlike other sphinx themes; e.g., sphinx-rtd-theme and furo. This can result in lots of white space between columns (when the browser window is wide).
In the example below, in the file test_sphinx.git/source/conf.py, if you replace sphinx_book_theme by sphinx_rtd_theme, the table width will contract and not include a huge amount of white space before and after the second column.
Reproduce the bug
git clone https://github.com/bradbell/test_sphinx.git test_sphinx.git
cd test_sphinx.git
mkdir source/_static
git checkout sphinx_book_theme -b temp
make html
firefox build/html/index.html &
List your environment
test_sphinx.git>uname -a
Linux fedora 6.6.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Dec 11 17:29:08 UTC 2023 x86_64 GNU/Linux
test_sphinx.git>python --version
Python 3.12.0
test_sphinx.git>dnf info sphinx | grep '^Version'
Version : 2.2.11
test_sphinx.git>pip list | grep sphinx-book-theme
sphinx-book-theme 1.0.1
The text was updated successfully, but these errors were encountered:
bradbell
changed the title
ITables expand to width of display adding lots of white space between columns
Tables expand to width of display adding lots of white space between columns
Jan 5, 2024
bradbell
added a commit
to bradbell/xrst
that referenced
this issue
Jan 5, 2024
Describe the bug
When I create a table, sphinx-book-theme always expands it to take of the full width of the display, unlike other sphinx themes; e.g., sphinx-rtd-theme and furo. This can result in lots of white space between columns (when the browser window is wide).
In the example below, in the file
test_sphinx.git/source/conf.py
, if you replacesphinx_book_theme
bysphinx_rtd_theme
, the table width will contract and not include a huge amount of white space before and after the second column.Reproduce the bug
List your environment
test_sphinx.git>uname -a
Linux fedora 6.6.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Dec 11 17:29:08 UTC 2023 x86_64 GNU/Linux
test_sphinx.git>python --version
Python 3.12.0
test_sphinx.git>dnf info sphinx | grep '^Version'
Version : 2.2.11
test_sphinx.git>pip list | grep sphinx-book-theme
sphinx-book-theme 1.0.1
The text was updated successfully, but these errors were encountered: