Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better integration between input-append and search-query #3605

Closed
jgutix opened this issue May 26, 2012 · 3 comments
Closed

Better integration between input-append and search-query #3605

jgutix opened this issue May 26, 2012 · 3 comments
Milestone

Comments

@jgutix
Copy link

jgutix commented May 26, 2012

Inserting a search-query textbox inside input-append for adding a button after, cause rounded sides to dissapear, with this markup:

<form action="" class="form-search">
     <div class="input-append">
         <input type="search" class="search-query span6"><button
             class="btn" type="button"><span class="icon-search"></span></button>
     </div>
  </form>

To fix that I create next css:

.form-search .input-append .search-query {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}
.form-search .input-append button:last-child{
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

Check it here: http://jsbin.com/icosan/3
That would be nice integrate it to boostrap css source to not use this trick

@thezoggy
Copy link

this is just one style.. i personally like doing something like:

http://jsfiddle.net/KwJXG/

but I wouldn't dream of making everyone put their search query in the navbar...

@mdo mdo closed this as completed in 5d8e78e Jul 10, 2012
@taivo
Copy link

taivo commented Nov 16, 2012

Can we get this same fix applied to navbar-search as well?

@mzgajner
Copy link

+1, this is indeed missing from navbar-search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants