We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d5bcf commit 2f15ba6Copy full SHA for 2f15ba6
python_docs_theme/static/pydoctheme.css
@@ -191,6 +191,9 @@ div.sphinxsidebar input[type='text'] {
191
}
192
193
#sidebarbutton {
194
+ display: flex;
195
+ justify-content: center;
196
+ align-items: center;
197
/* Sphinx 4.x and earlier compat */
198
height: 100%;
199
background-color: #CCCCCC;
@@ -200,19 +203,12 @@ div.sphinxsidebar input[type='text'] {
200
203
cursor: pointer;
201
204
padding-top: 1px;
202
205
float: right;
- display: table;
206
/* after Sphinx 4.x and earlier is dropped, only the below is needed */
207
width: 12px;
208
border-radius: 0 5px 5px 0;
209
border-left: none;
210
211
-#sidebarbutton span {
- /* Sphinx 4.x and earlier compat */
212
- display: table-cell;
213
- vertical-align: middle;
214
-}
215
-
216
#sidebarbutton:hover {
217
background-color: #AAAAAA;
218
0 commit comments