0

I wanna use both Material icons and fontawesome in my project but always I get inconsistent UI because of icons sizes

result

I found that material icons path doesn't respect the given width

enter image description here

How can I resolve this issue ?

Although i did try to scale the svg to it's container

   .editPanelInputLabelIcon {
        display: flex;
        width: 20px;
        height: 20px;
        svg {
          width: 100%;
          height: 100%;
        }
      }
 <span className="editPanelInputLabelIcon"><svg>...</svg> </span>
Taha
  • 1,072
  • 2
  • 16
  • 29

0 Answers0