fix(sqllab): invalid height in ResultTable#37408
Conversation
Code Review Agent Run #21c0deActionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Code Review Agent Run #3822e5Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
During the process of fixing a bug in #36540, unnecessary logic for calculating the ResultSet table height was added. As a result, the table height does not match the actual content height, making it impossible to view the content at the bottom of the table. In the case of ResultTable, the height is automatically adjusted using AutoSizer, so if you provide the height via CSS, the table will be rendered correctly according to the desired height.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TESTING INSTRUCTIONS
locally tested
ADDITIONAL INFORMATION