mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
docs: update Theme
, DataTable
docs (#1305)
* docs(theme): add note that `Theme` must be used with `all.css` * docs(data-table): add note that custom widths do not work with `stickyHeader`
This commit is contained in:
parent
d5a3557530
commit
e1451324cc
2 changed files with 16 additions and 2 deletions
|
@ -334,6 +334,10 @@ Specify a `width` or `minWidth` property in the `headers` object to customize th
|
|||
|
||||
A [table-layout: fixed](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout#values) rule will be applied to the `table` element when using custom widths.
|
||||
|
||||
<InlineNotification svx-ignore lowContrast kind="warning" title="Note:" hideCloseButton>
|
||||
<div class="body-short-01">Custom column widths do not work with a <a class="bx--link" href="#sticky-header">sticky header</a>.</div>
|
||||
</InlineNotification>
|
||||
|
||||
<FileSource src="/framed/DataTable/DataTableHeaderWidth" />
|
||||
|
||||
### Sticky header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue