material-design-icons icon indicating copy to clipboard operation
material-design-icons copied to clipboard

Icons do not display correctly with the default font size in Safari (ios)

Open Zombobot1 opened this issue 3 years ago • 0 comments

I have to adjust font size to get correct render in safari

<div style={{ display: 'flex', flexDirection: 'column' }}>
  <div style={{ display: 'flex' }}>
    <span className="material-symbols-rounded" style={{ fontSize: 23 }}>
      lunch_dining
    </span>
    <span className="material-symbols-rounded" style={{ fontSize: 24 }}>
      lunch_dining
    </span>
    <span className="material-symbols-rounded" style={{ fontSize: 25 }}>
      lunch_dining
    </span>
  </div>
  <div style={{ display: 'flex' }}>
    <span className="material-symbols-rounded">home</span>
    <span className="material-symbols-rounded">favorite</span>
    <span className="material-symbols-rounded">grade</span>
  </div>
</div>

Expected result (chrome desktop & android):

image

Result in safari (ios 16.2):

telegram-cloud-photo-size-2-5307736721045175859-y

Zombobot1 avatar Jan 04 '23 06:01 Zombobot1