-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce Flat Data Grid row height to display more data rows #138
Comments
Adding the following CSS rules fixes this issue for a pinned column and data row line-height:
However, I couldn't find how to get rid of the extra space between table rows after those changes. I suspect that is caused by some flex/box sizing or In general that grid could use more custom grid, row, cell classes exposed in CSS to enable devs integrating that data grid component overwrite grid row/cell styles it in their apps easily. |
to reduce overall grid row height in our data table renderers flat grid view. see: RandomFractals/vscode-data-table#138
Dense flat UI grid display with more rows after line item height and grid row height changes applied to flat UI grid in our fork: |
and bump this ext. version to 1.14.0
Currently those table rows have
line-height
set to1.5
(see https://github.com/githubocto/flat-ui/blob/main/src/index.css#L13) and hardcoded.cell
height
is set to40px
with inline styles for each data cell div.This results in not even 10 rows of actual data rows we can display in our limited 560px table view in a notebook cell output.
Flat data grid header summary row with bar charts is really nice to get a quick dataset overview.
Reducing regular row height to 24px or so could make that data table renderer even more useful for quick data scans.
The text was updated successfully, but these errors were encountered: