suankularb-wittayalai-school / sk-components

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

Dialog Header with icon is not center-aligned #100

Closed SiravitPhokeed closed 1 year ago

SiravitPhokeed commented 1 year ago

Describe the bug When an icon is specified, the Dialog Header is still aligned to the left.

To reproduce Steps to reproduce the behavior:

  1. Pass in the icon prop for Dialog Header
  2. See it aligned to the left

Expected behavior It should be center-aligned as specified in the SKCom specifications.

Screenshots image

Browser e.g. Edge 111.0.1661.51