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:
Becky Siegel
2017-09-30 10:25:39 +01:00
parent 78b40cad2f
commit 70ec5fe165

View File

@@ -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>