Skip to content

Instantly share code, notes, and snippets.

@dimroc
Last active August 29, 2015 14:08
Show Gist options
  • Save dimroc/bd0dc95d0b1106ae42db to your computer and use it in GitHub Desktop.
Save dimroc/bd0dc95d0b1106ae42db to your computer and use it in GitHub Desktop.
Customizations to new BS 3 typeahead.js and tokenfield to get the all fields aligned
@import "bootstrap-tokenfield/dist/css/bootstrap-tokenfield";
@import "bootstrap-tokenfield/dist/css/tokenfield-typeahead";
@import "typeahead-overrides";
$token-height: 21px;
.tokenfield {
input.token-input.tt-hint {
height: $token-height;
border: 0px;
}
input.token-input.tt-input {
height: $token-height;
position: absolute !important;
top: 0px;
left: 0px;
padding: 0px;
}
.tt-dropdown-menu {
top: $token-height !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment