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
This commit is contained in:
David Pursehouse
2014-11-20 13:35:29 +09:00
parent a1a5d62da9
commit 8a2fa0930a

View File

@@ -104,6 +104,8 @@ limitations under the License.
.closed .reply { .closed .reply {
visibility: HIDDEN; visibility: HIDDEN;
} }
.comment {
}
</ui:style> </ui:style>
<g:HTMLPanel <g:HTMLPanel
@@ -124,7 +126,8 @@ limitations under the License.
</g:HTMLPanel> </g:HTMLPanel>
<div ui:field='message' <div ui:field='message'
aria-hidden='true' aria-hidden='true'
style='display: NONE'/> style='display: NONE'
styleName='{style.comment}'/>
<g:FlowPanel ui:field='comments' visible='false'/> <g:FlowPanel ui:field='comments' visible='false'/>
</div> </div>
</g:HTMLPanel> </g:HTMLPanel>