Update change actions to display text normally
Previously, text was displayed before pseudo tag, but this will not work when we start using paper-button. Instead, compute text and display as normal HTML content. Change-Id: I9c5e48d855a6efb2c3f3cd4b6ae5f0506a2901a5
This commit is contained in:
@@ -48,9 +48,6 @@ limitations under the License.
|
||||
gr-dropdown {
|
||||
margin-left: .5em;
|
||||
}
|
||||
gr-button:before {
|
||||
content: attr(data-label);
|
||||
}
|
||||
#actionLoadingMessage {
|
||||
color: #777;
|
||||
}
|
||||
@@ -105,7 +102,7 @@ limitations under the License.
|
||||
data-action-type$="[[action.__type]]"
|
||||
data-label$="[[action.label]]"
|
||||
disabled$="[[_calculateDisabled(action, _hasKnownChainState)]]"
|
||||
on-tap="_handleActionTap"></gr-button>
|
||||
on-tap="_handleActionTap">[[action.label]]</gr-button>
|
||||
</template>
|
||||
</section>
|
||||
<gr-button hidden$="[[!_loading]]" disabled>Loading actions...</gr-button>
|
||||
|
||||
Reference in New Issue
Block a user