improve button text overflow when func names are long

pull/1/head
d11e9 9 years ago
parent ce929eda66
commit ce7a633069
  1. 1
      libs/universal-dapp.js
  2. 2
      stylesheets/universal-dapp.css

@ -270,6 +270,7 @@ UniversalDApp.prototype.getCallButton = function(args) {
var button = $('<button />') var button = $('<button />')
.addClass( 'call' ) .addClass( 'call' )
.attr('title', fun.displayName())
.text(args.bytecode ? 'Create' : fun.displayName()) .text(args.bytecode ? 'Create' : fun.displayName())
.click( handleCallButtonClick ); .click( handleCallButtonClick );

@ -178,6 +178,8 @@
background-color: #666; background-color: #666;
color: white; color: white;
cursor: pointer; cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
} }
.udapp .instance input, .udapp .instance input,

Loading…
Cancel
Save