Skip to content

Vertical scrollbar always visible, how do I remove this? #1141

Closed Answered by lrljoe
rhonautix asked this question in Q&A
Discussion options

You must be logged in to vote

The below should do it, this removes the default classes, and sets the below

public function configure(): void
{
  $this->setTableWrapperAttributes([
    'default' => false,
    'class' => 'shadow border-b border-gray-200 dark:border-gray-700 sm:rounded-lg',
  ]);
}

Default is
"shadow overflow-y-scroll border-b border-gray-200 dark:border-gray-700 sm:rounded-lg"

Replies: 2 comments 1 reply

Comment options

lrljoe
Apr 6, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by rhonautix
Comment options

You must be logged in to vote
1 reply
@lrljoe
Comment options

lrljoe Nov 15, 2023
Collaborator Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants