From 5b8435cd9a7fbe57207de521b859fc0ea33c99a8 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Thu, 4 Mar 2010 16:42:57 -0800 Subject: [PATCH] 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 --- .../gerrit/client/patches/PatchScriptSettingsPanel.ui.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchScriptSettingsPanel.ui.xml b/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchScriptSettingsPanel.ui.xml index 2cb88a8734..9d7303dfa1 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchScriptSettingsPanel.ui.xml +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchScriptSettingsPanel.ui.xml @@ -40,13 +40,13 @@ limitations under the License. white-space: nowrap; } - .gwt-TextBox { + .controls .gwt-TextBox { font-size: fontSize; padding: 0; text-align: right; } - .gwt-ListBox { + .controls .gwt-ListBox { font-size: fontSize; padding: 0; }