Skip to content

Instantly share code, notes, and snippets.

@gpamfilis
Created August 3, 2023 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gpamfilis/1c0b5000927ac3732a559ccc9cd1f074 to your computer and use it in GitHub Desktop.
Save gpamfilis/1c0b5000927ac3732a559ccc9cd1f074 to your computer and use it in GitHub Desktop.
Make dash datatable full screen.
/*
Place this file in your assets folder and finito.
*/
/* https://stackoverflow.com/questions/57293843/adjusting-the-maxheight-of-a-table-in-dash-tables-python */
/* высота таблицы Dash DataTable*/
.dash-spreadsheet.dash-freeze-top, .dash-spreadsheet.dash-virtualized
{ max-height: inherit !important; }
.dash-table-container {max-height: calc(100vh - 10px);}
/*makes the height of the DashTable 10 pix less then the 100% screen */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment