Skip to content

Scroller Extension: max-height of .dataTables_scrollBody is 200px #1168

Open
@Justype

Description

@Justype
<div class="dataTables_scrollBody" style="position: relative; overflow: auto; width: 100%; max-height: 200px; height: 200px;">
    ...
</div>

Image

Is this done on purpose?

I want to use scroller in quarto dashboard. But it is very small. But I don't have a better solution to fix this.

My current patch for this: use vh instead of px

<style>
.dataTables_scrollBody {
  max-height: 60vh !important; /* depends on your layout */
  height: 60vh !important;
}
</style>

Any better option? If not, this issue can be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions