Skip to content

Tables should not use fixed layout by default #227

Open
@dimodi

Description

@dimodi

Describe the bug

By default, tables have a table-layout:fixed style. This is very inconvenient for scenarios where you have one column with little content and another column with lots of content. All columns are equally wide, which hinders readability and wastes space. Currently, we use CSS hacks in the markdown code to work around this.

To Reproduce

Inspect the table and remove the overridden table-layout styles (or set fixed as an inline style):

https://docs.telerik.com/blazor-ui/components/splitbutton/overview#splitbutton-parameters

Expected behavior

More flexibility with auto layout. If it's possible to configure fixed layout via markdown, then go for it.

Additional context

This problem stems from commit 9f50d1d and even the author can’t remember why the table-layout style was added.

Also evaluate the actual need for the word-break: break-word style for tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TW priorityBugs or features with justified impact on the product docsbugSomething isn't workingest: lowEstimated for 1-2 dev dayssev: highImpacts all documentations sitesstylesRelated to decoration and stylesuxThe issue is UI/UX related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions