Revert "Move the popup close box sizing to CSS"

Moving the box size to CSS broke `Popup.setSize()`; the function
expects a width for the padding computation. Because this function is
called before the div is added to the DOM, the size can't be
computed.

This reverts commit 134f24480a.
This commit is contained in:
Frederic Junod
2012-02-13 19:59:59 +01:00
parent 16c30b8e6d
commit 2dabac734c
3 changed files with 4 additions and 7 deletions
-2
View File
@@ -259,8 +259,6 @@ div.olControlSaveFeaturesItemInactive {
.olPopupCloseBox {
background: url("img/close.gif") no-repeat;
width: 17px;
height: 17px;
cursor: pointer;
}