siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
174 stars 62 forks source link

<ix-tile> enable custom size #1301

Open intuiquest opened 1 month ago

intuiquest commented 1 month ago

Prerequisites

Suggestion / feature request

iX Tiles have a fixed width, making them inconvenient to use in a responsive grid (display: grid). It would be beneficial if the component provided an option such as size="custom" for this use case. Currently, I have to override the following properties:

ix-tile {
  min-width: unset;
  max-width: unset;
  width: unset;
}
matthiashader commented 2 weeks ago

Hello @intuiquest ! Thanks for your inights, tiles are designed to have a fixed width, so either choose your approach with just overriding the width, or use the more flexible ix-card-component (which i would suggest).