Stop leaking patch controls CSS to other widgets
We leaked these CSS rules onto every other widget in the UI, like the LDAP login dialog, or the search box in the top right, because the CSS rules are injected globally into the page and aren't scoped to the UiBinder instance we are creating. Change-Id: I4baf16a135bc0e976a6580c02c890853221a11ea Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -40,13 +40,13 @@ limitations under the License.
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gwt-TextBox {
|
.controls .gwt-TextBox {
|
||||||
font-size: fontSize;
|
font-size: fontSize;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gwt-ListBox {
|
.controls .gwt-ListBox {
|
||||||
font-size: fontSize;
|
font-size: fontSize;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user