carbon
carbon copied to clipboard
Icon Component - Allow to align totally left
Desired behaviour
I need to align totally left the icon in order to be aligned with the other text, so I need to be able to remove the spacing on left and right wich is setted by default
Current behaviour
The Icon has a default spacing that does not allow to align with the rest of the text
Suggested Solution
No response
CodeSandbox or Storybook URL
https://codesandbox.io/s/compassionate-mcclintock-8xxpt4?file=/src/App.js
Anything else we should know?
No response
Confidentiality
- [X] I confirm there is no confidential or commercially sensitive information included.
@harpalsingh would there be any implications if the icon padding is removed or modified? Here is the same codesandbox as above but with text included as @eduguillem-sage described
FE-6210
@eduguillem-sage would you be able to provide some context to why you need the ability to control the spacing around the icon?