Skip to content

Use full page height in a table #6403

Closed

Description

@ahoiroman

Package

v4.x

Description

Hi there,

I did not yet manage to let a table grow over the full available page height. If I did something like adding h-full to the tr's did also grow, which looks messy ;)

  <UTable
    :data="items"
    class="min-h-full"
    :ui="{
      base: 'table-fixed border-separate border-spacing-0 min-h-full',
      thead: '[&>tr]:bg-elevated/50 [&>tr]:after:content-none',
      tbody: '[&>tr]:last:[&>td]:border-b-0',
      td: 'border-b border-default',
      separator: 'h-0',
      empty: 'min-h-full bg-green-500'
    }"
  >

Any idea to solve that?

Activity

  1. mdotme commented on Apr 29, 2026

    @mdotme
    Contributor

    Hi! I'm not sure min-h-full gives you full height page can you try min-h-screen instead?

  2. Ombrenoirz commented on May 4, 2026

    @Ombrenoirz

    h-full depends on the parent's height. Be careful with h-screen, it might overlap other children.

  3. mdotme commented on May 8, 2026

    @mdotme
    Contributor

    h-full depends on the parent's height. Be careful with h-screen, it might overlap other children.

    You're right but I did assume he's using it without wrappers

  4. locked and limited conversation to collaborators on Jun 19, 2026
  5. converted this issue into a discussion #6618 on Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedv4#4488

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions