Skip to content

Commit d3f7cfd

Browse files
nlhkabumiketheman
andauthored
Restyle autocomplete input (#18764)
Co-authored-by: Mike Fiedler <[email protected]>
1 parent 05bd3a4 commit d3f7cfd

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

warehouse/static/sass/blocks/_form-group.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,26 @@
8585
&__results {
8686
font-size: $input-font-size;
8787
margin-left: 0;
88-
padding: 4px 0 8px;
88+
margin-top: -1px;
89+
padding: 0;
90+
border: 1px solid $border-color;
91+
border-bottom: 0;
92+
position: absolute;
93+
z-index: 400;
94+
width: 350px;
95+
max-width: calc(100% - $spacing-unit);
8996

9097
li {
9198
background-color: $white;
9299
border-bottom: 1px solid $border-color;
93100
color: $text-color;
94101
cursor: pointer;
95102
list-style-type: none;
103+
padding: $quarter-spacing-unit;
104+
105+
img {
106+
margin-right: 4px;
107+
}
96108

97109
&:hover,
98110
&:active,

0 commit comments

Comments
 (0)