Permalink
Browse files

[Bug 792465] Fixed width for search button.

This way, localized text will make it wrap, instead of pushing the
button to the next line. Also tweaked the styling of the text box so
that it stays vertically centered.
  • Loading branch information...
1 parent 8595273 commit 36a32de697b1fe78b91287e7a0ad25cca6dfe880 @mythmon mythmon committed Oct 8, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 media/less/search.less
View
8 media/less/search.less
@@ -125,14 +125,18 @@
.search-form {
margin-bottom: 40px;
+ position: relative;
.btn {
float: right;
+ width: 240px;
}
.searchbox {
- float: left;
- margin: 10px 0 0 12px;
+ position: absolute;
+ top: 50%;
+ left: 20px;
+ margin-top: -15px;
width: 606px;
}
}

0 comments on commit 36a32de

Please sign in to comment.