Resin paper-menu-button will resize the default icon

Is there any way to set the size of the resin paper button element. I think the icon size is 24px. I want to have it as 20px, but I can't find a way to do it.

Thanks Dennis

0


source to share


1 answer


I tried it and it worked. Add this style to the Polymer element containing your element <paper-menu-button>

.

  paper-menu-button /deep/ core-icon[role=img] {
    height: 20px;
    width: 20px;
  }

      



I added [role=img]

to increase selectivity.

+3


source







All Articles