Skip to content

Commit 905f4bd

Browse files
committed
Allow bit more room for typeahead and show the descriptions
1 parent 8659b7c commit 905f4bd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

styles/theme-base.css

+4-7
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ fieldset {
11281128
}
11291129

11301130
/* Class and other matches descriptions tend to be useless. */
1131-
.tt-dataset-0 .tt-suggestion .description {
1131+
.tt-suggestion .description {
11321132
display: block;
11331133
font-size: 0.8em;
11341134
line-height: 1.3;
@@ -1137,9 +1137,6 @@ fieldset {
11371137
text-overflow: ellipsis;
11381138
}
11391139

1140-
.tt-suggestion .description {
1141-
display: none;
1142-
}
11431140

11441141
/* Selected items. */
11451142
.tt-is-under-cursor {
@@ -1149,13 +1146,13 @@ fieldset {
11491146
/* We need to crunch down the dropdown on smaller displays. Firstly we'll drop
11501147
* the descriptions, then classes (since they're two clicks away if you have
11511148
* matching functions). */
1152-
@media screen and (max-height: 580px) {
1153-
.tt-dataset-0 .tt-suggestion .description {
1149+
@media screen and (max-height: 480px) {
1150+
.tt-suggestion .description {
11541151
display: none;
11551152
}
11561153
}
11571154

1158-
@media screen and (max-height: 500px) {
1155+
@media screen and (max-height: 400px) {
11591156
.tt-dataset-1 {
11601157
/* Overriding an unfortunate element style. */
11611158
display: none !important;

0 commit comments

Comments
 (0)