Skip to content

Commit c27f5b8

Browse files
FIX: meilisearch style (#211)
* FIX: Heights to the px format * FIX: The search bar * FIX:Put the index and search in shared container --------- Co-authored-by: Jorge Martínez <[email protected]>
1 parent 684f3bc commit c27f5b8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/meilisearch.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ div [data-ds-theme] .searchbox input {
5353
}
5454

5555
#search-bar-input{
56-
width: 182%;
56+
width: 170%;
5757
background-color: var(--pst-color-background);
5858
border: 1px solid var(--pst-color-border);
5959
border-radius: .25rem;
@@ -77,16 +77,15 @@ div [data-ds-theme] .searchbox input {
7777
.index-select {
7878
color: var(--pst-color-text-base);
7979
background: var(--pst-color-background);
80-
height: 3rem;
80+
height: 47px;
8181
border: 1px solid var(--pst-color-border);
8282
border-radius: .25rem;
8383
font-size: 20px;
8484
font-family: "Open Sans", sans-serif;
8585
box-shadow: 0px 0px 20px var(--pst-color-border);
8686
padding: 0 10px 0px 10px;
8787
width: 25%;
88-
position: absolute;
89-
margin-left: 40rem;
88+
margin-left: 5px;
9089
}
9190

9291
.meilisearch-autocomplete .dsb-dropdown-menu [class^=dsb-dataset-] {

0 commit comments

Comments
 (0)