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

Skip to content

Commit 51a0c7a

Browse files
committed
Update select styles
1 parent 43da2b4 commit 51a0c7a

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed
Lines changed: 1 addition & 0 deletions
Loading

python_docs_theme/static/pydoctheme.css

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,25 @@ dl > dt span ~ em {
426426
.menu ul li {
427427
margin-bottom: 0.5rem;
428428
}
429-
.language_switcher_placeholder {
430-
padding-top: 1.25rem;
429+
430+
.language_switcher_placeholder::after,
431+
.version_switcher_placeholder::after {
432+
content: url('../_static/caret-down.svg');
433+
position: absolute;
434+
top: 7px;
435+
width: 15px;
436+
height: 15px;
437+
right: 3px;
438+
pointer-events: none;
439+
}
440+
.language_switcher_placeholder select,
441+
.version_switcher_placeholder select {
442+
appearance: none;
443+
border: 0;
444+
height: 100%;
431445
}
432446
.language_switcher_placeholder select {
433-
width: 95%;
434-
height: 30px;
435-
border-radius: 0;
447+
width: 100%;
436448
}
437449
.document {
438450
padding-top: 40px;

0 commit comments

Comments
 (0)