summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2014-11-20 13:35:29 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2014-11-20 16:30:28 +0900
commit8a2fa0930a21e0fdcfd50046590987abe37db71c (patch)
tree1abfc4920f5c8ff2718ca71ee140389b5869f7b0
parenta1a5d62da9061362f47d97b6c4c5e361e3279d87 (diff)
Add CSS style name on review comment div
Having style names on the elements makes it easy to apply custom themes. The DIV element containing the review comment was the only one that did not have a name. Bug: Issue 2998 Change-Id: I028c3bf4c4067ef31b10b364f85a456750876d56
-rw-r--r--gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Message.ui.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Message.ui.xml b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Message.ui.xml
index ab1b53eb60..a3a706d5bf 100644
--- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Message.ui.xml
+++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/change/Message.ui.xml
@@ -104,6 +104,8 @@ limitations under the License.
.closed .reply {
visibility: HIDDEN;
}
+ .comment {
+ }
</ui:style>
<g:HTMLPanel
@@ -124,7 +126,8 @@ limitations under the License.
</g:HTMLPanel>
<div ui:field='message'
aria-hidden='true'
- style='display: NONE'/>
+ style='display: NONE'
+ styleName='{style.comment}'/>
<g:FlowPanel ui:field='comments' visible='false'/>
</div>
</g:HTMLPanel>