You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArakTaiRoth
changed the title
[Bug]: Table's width doesn't fit the enclosed content as default
[Documentation]: Table's width property is incorrectly described
Nov 15, 2023
Describe the bug
https://ui-components.alberta.ca/?path=/docs/components-table--basic
It is said that:
width
: Width of the table. By default it will fit the enclosed content.However, the basic table width is always smaller than the parent div.
![image](https://private-user-images.githubusercontent.com/120135417/283193535-5b5813cf-eb5c-47ce-a254-1e044e16a718.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjQ1MTQsIm5iZiI6MTczOTEyNDIxNCwicGF0aCI6Ii8xMjAxMzU0MTcvMjgzMTkzNTM1LTViNTgxM2NmLWViNWMtNDdjZS1hMjU0LTFlMDQ0ZTE2YTcxOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQxODAzMzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNWNjYTZhMGUzZmZhYWE3YTQzN2I0MmY2MGI0MmU1NWZjMzdmOGI5Yzc0MTgzMmViZjkxNDJkMGIyMTcyMTYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.vBVzp0cI04G_3KbBgaquV08eB-5TPOpXbkaFaFdZYz8)
Provide Code
https://github.com/GovAlta/ui-components-docs/blob/main/src/components/component-properties/ComponentProperties.tsx#L49
To Reproduce
Link
Relevant console log output
No response
What browsers are you seeing the problem on?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: