Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a01c97

Browse files
authored
Merge pull request #1467 from bastimeyer/docs/install-page-table-layout
docs: fix table layout on the install page
2 parents b839cfd + e530e5b commit 2a01c97

2 files changed

Lines changed: 43 additions & 10 deletions

File tree

docs/_themes/sphinx_rtd_theme_violet/static/css/theme.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4778,3 +4778,22 @@ a:visited:hover {
47784778
.wy-table-responsive div.highlight pre {
47794779
padding: 5px;
47804780
}
4781+
4782+
4783+
/* fix table layout on the install page */
4784+
table.table-custom-layout {
4785+
table-layout: fixed;
4786+
}
4787+
table.table-custom-layout colgroup {
4788+
display: none;
4789+
}
4790+
table.table-custom-layout colgroup col {
4791+
width: auto;
4792+
}
4793+
table.table-custom-layout th:first-of-type {
4794+
width: 12rem;
4795+
}
4796+
table.table-custom-layout tbody tr td {
4797+
overflow: unset;
4798+
white-space: unset;
4799+
}

docs/install.rst

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Installation
1010
Linux and BSD packages
1111
----------------------
1212

13+
.. rst-class:: table-custom-layout
14+
1315
==================================== ===========================================
1416
Distribution Installing
1517
==================================== ===========================================
@@ -59,9 +61,12 @@ Distribution Installing
5961
.. _Installing AUR packages: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages
6062
.. _Installing NixOS packages: https://nixos.org/wiki/Install/remove_software#How_to_install_software
6163

64+
6265
Other platforms
6366
---------------
6467

68+
.. rst-class:: table-custom-layout
69+
6570
==================================== ===========================================
6671
Platform Installing
6772
==================================== ===========================================
@@ -88,8 +93,12 @@ Microsoft Windows See `Windows binaries`_ and `Windows portab
8893
.. _Installing Homebrew packages: https://brew.sh
8994
.. _Installing Chocolatey packages: https://chocolatey.org
9095

96+
9197
Package maintainers
9298
-------------------
99+
100+
.. rst-class:: table-custom-layout
101+
93102
==================================== ===========================================
94103
Distribution/Platform Maintainer
95104
==================================== ===========================================
@@ -104,7 +113,8 @@ Solus Bryan T. Meyers <bmeyers at datadrake.com>
104113
Ubuntu Alin Andrei <andrew at webupd8.org>
105114
Void wkuipers <wietse at kuiprs.nl>
106115
Windows binaries beardypig <beardypig at protonmail.com>
107-
Windows port. version RosadinTV <RosadinTV at outlook.com>, beardypig <beardypig at protonmail.com>
116+
Windows port. version RosadinTV <RosadinTV at outlook.com> |br|
117+
beardypig <beardypig at protonmail.com>
108118
==================================== ===========================================
109119

110120

@@ -129,6 +139,8 @@ manager, or by checking out the latest code with
129139

130140
The commands listed here will also upgrade any existing version of Streamlink.
131141

142+
.. rst-class:: table-custom-layout
143+
132144
==================================== ===========================================
133145
Version Installing
134146
==================================== ===========================================
@@ -159,6 +171,8 @@ Dependencies
159171

160172
To install Streamlink from source you will need these dependencies.
161173

174+
.. rst-class:: table-custom-layout
175+
162176
==================================== ===========================================
163177
Name Notes
164178
==================================== ===========================================
@@ -250,7 +264,9 @@ Windows binaries
250264
.. important::
251265

252266
Windows XP is not supported. |br|
253-
Windows Vista requires at least SP2 to be installed.
267+
Windows Vista requires at least SP2 to be installed.
268+
269+
.. rst-class:: table-custom-layout
254270

255271
==================================== ====================================
256272
Release Notes
@@ -289,19 +305,17 @@ To build the installer on your own, ``NSIS`` and ``pynsist`` need to be installe
289305
Windows portable version
290306
^^^^^^^^^^^^^^^^^^^^^^^^
291307

308+
.. rst-class:: table-custom-layout
309+
292310
==================================== ===========================================
293311
Maintainer Links
294312
==================================== ===========================================
295-
RosadinTV `Latest precompiled stable release`__
296-
297-
`Latest builder`__
298-
313+
RosadinTV `Latest precompiled stable release`__ |br|
314+
`Latest builder`__ |br|
299315
`More info`__
300316

301-
Beardypig `Latest precompiled stable release`__
302-
303-
`Latest builder`__
304-
317+
Beardypig `Latest precompiled stable release`__ |br|
318+
`Latest builder`__ |br|
305319
`More info`__
306320
==================================== ===========================================
307321

0 commit comments

Comments
 (0)