Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 8c8065a

Browse files
committed
- Fixed with issues when used inside an input group
- added cursor: pointer for list items - removed white-space: nowrap from .tt-suggestion so that we could have custom-styled menu items
1 parent f1f83aa commit 8c8065a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

typeahead.less

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@
3737
//border
3838
.input-group .twitter-typeahead:first-child &{
3939
.border-left-radius(@border-radius-base);
40+
width: 100%;
4041
}
4142
.input-group .twitter-typeahead:last-child &{
4243
.border-right-radius(@border-radius-base);
44+
width: 100%;
4345
}
4446

4547
//sizing - small:size and border
@@ -78,10 +80,10 @@
7880
//for wrapper
7981
.twitter-typeahead {
8082
width: 100%;
83+
float: left;
8184
.input-group &{
8285
//overwrite `display:inline-block` style
8386
display: table-cell!important;
84-
float: left;
8587
}
8688
}
8789

@@ -132,10 +134,10 @@
132134
font-weight: normal;
133135
line-height: @line-height-base;
134136
color: @dropdown-link-color;
135-
white-space: nowrap;
136137

137138
&.tt-cursor {
138139
//item selected
140+
cursor: pointer;
139141
text-decoration: none;
140142
outline: 0;
141143
background-color: @dropdown-link-hover-bg;

0 commit comments

Comments
 (0)