Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb87195c

Browse files
Stretch search button to text width (#268)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parentd742571 commitb87195c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
CPYTHON_PATH = ../cpython
33
PYTHON = python3
44
PACKAGE_ABS_PATH =$(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz)
5+
SPHINXOPTS =
56

67

78
.PHONY: help
@@ -22,7 +23,7 @@ venv:
2223
.PHONY: html
2324
html: venv
2425
cd$(CPYTHON_PATH)/Doc&&\
25-
make html
26+
makeSPHINXOPTS="$(SPHINXOPTS)"html
2627

2728
.PHONY: htmlview
2829
htmlview: html

‎python_docs_theme/static/pydoctheme.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ form.inline-search input {
123123
}
124124

125125
form.inline-searchinput[type='submit'] {
126-
width:40px;
126+
/* In some languages, more than 40px is required */
127+
width: auto;
128+
min-width:40px;
127129
}
128130

129131
div.document {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp