Skip to content
Snippets Groups Projects
Commit c848fcdb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

search button is aligned properly in firefox

parent 2e8c2752
No related branches found
No related tags found
1 merge request!80search button is aligned properly in firefox
......@@ -81,15 +81,19 @@ AbstractPanel.prototype._initializeGui = function() {
this.setControlElement(PanelControlElementType.SEARCH_LABEL, searchLabel);
var searchInputDiv = Functions.createElement({
type : "div",
style : "display:table"
type : "table",
});
searchQueryDiv.appendChild(searchInputDiv);
var searchInputRow = Functions.createElement({
type : "tr",
});
searchInputDiv.appendChild(searchInputRow);
var searchInputCell = Functions.createElement({
type : "div",
style : "display:table-cell"
type : "td",
});
searchInputDiv.appendChild(searchInputCell);
searchInputRow.appendChild(searchInputCell);
var searchInput = Functions.createElement({
type : "input",
......@@ -100,14 +104,12 @@ AbstractPanel.prototype._initializeGui = function() {
this.setControlElement(PanelControlElementType.SEARCH_INPUT, searchInput);
var searchButtonCell = Functions.createElement({
type : "div",
style : "display:table-cell"
type : "td",
});
searchInputDiv.appendChild(searchButtonCell);
searchInputRow.appendChild(searchButtonCell);
var searchButton = Functions.createElement({
type : "a",
className : "searchButton",
content : '<img src="resources/images/icons/search.png"/>'
});
searchButton.href = "#";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment