-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from scrock1987/hotfix-agency-client-screen-b…
…ottom-white-space-4553 On the agency client screen bottom white space is added
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,4 +89,8 @@ | |
.noResultText { | ||
text-align: center; | ||
color: #999999; | ||
} | ||
|
||
.dropDownPopUpContainer { | ||
overflow: hidden !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,6 +274,15 @@ public interface Style extends CssResource { | |
* @return The name of the compiled style | ||
*/ | ||
String noResultText(); | ||
|
||
/** | ||
* The style for the dropDownPopUpContainer with hidden overflow field. | ||
* | ||
* @author saurabh <[email protected]> | ||
* | ||
* @return The name of the compiled style | ||
*/ | ||
String dropDownPopUpContainer(); | ||
|
||
} | ||
|
||
|
@@ -408,11 +417,14 @@ public void run() { | |
* Creates the drop down that displays the search results | ||
* | ||
* @author Johannes Gryffenberg <[email protected]> | ||
* @author saurabh <[email protected]> | ||
* @since 22 January 2013 | ||
*/ | ||
private void createDropDownPopup() { | ||
if (dropDownPopup == null) { | ||
dropDownPopup = new SearchBoxDropDown(resources); | ||
//setting popup dropdown style overflow to hidden | ||
dropDownPopup.setStyleName(this.resources.searchBoxStyle().dropDownPopUpContainer()); | ||
dropDownPopup.setPopupPosition(this.getAbsoluteLeft(), this.getAbsoluteTop() + this.getOffsetHeight()); | ||
dropDownPopup.setWidth(this.getOffsetWidth() + "px"); | ||
dropDownPopup.show(); | ||
|