suankularb-wittayalai-school / sk-components

A design system for all Suankularb applications
https://sk-components-demo.mysk.school
0 stars 1 forks source link

Input width can’t be modified #22

Closed SiravitPhokeed closed 2 years ago

SiravitPhokeed commented 2 years ago

Describe the bug Even when the width is modified via either className or style on the element with the input class, the width of the actual input element is not modified. While this doesn’t affect the pure CSS users, repositories like react-sk-components need to be able to change the actual input element via the element with the input class.

To reproduce

  1. Change the width is modified via either className or style on the element with the input class
  2. See that the width of the actual input element is not modified

Expected behavior The width of the actual input element should be 100% of the element with the input class.