ix icon indicating copy to clipboard operation
ix copied to clipboard

Ix-toggle is broken when change font-size

Open ridvandmrc opened this issue 1 year ago • 2 comments

Prerequisites

  • [X] I have not leaked any internal company information.
  • [X] I have not posted internal links or code snippets.

What happened?

When I change font-size with 14px for mobile view, ix-toggle is broken.

Actually problem is that rem unit has not been using for width and height.

please use rem unit instead of px. because it is relative unit .

image

What type of frontend frameware are you seeing the problem on?

Angular

Which version of iX do you use?

2.1

Code to produce this issue.

https://stackblitz.com/~/edit/xnfrdi-vsraje

ridvandmrc avatar Feb 22 '24 14:02 ridvandmrc

it looks like: image

it seems normal After update it like:

image

ridvandmrc avatar Feb 22 '24 14:02 ridvandmrc

Thanks for your insights - I have created a ticket for it, we will track it internally! Internal ref [IX-953]

matthiashader avatar Feb 26 '24 06:02 matthiashader