From ceb473c2dfae4a4472e3276e03761df321f5bd40 Mon Sep 17 00:00:00 2001 From: Riley Jones <78179109+rileyajones@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:09:53 -0700 Subject: [PATCH] Bug Fix: Make the runs data table only show a scrollbar when needed (#6656) ## Motivation for features / changes The runs table previously always showed the scroll bar. Now it only shows when there are enough runs. ## Screenshots of UI changes (or N/A) Before (no scroll): ![image](https://github.com/tensorflow/tensorboard/assets/78179109/ab6f197e-1494-4c3a-b11d-88e181860e8b) Before (with scroll): ![image](https://github.com/tensorflow/tensorboard/assets/78179109/ff5908ee-5a75-4153-9a93-d541c5980d51) After (no scroll): ![image](https://github.com/tensorflow/tensorboard/assets/78179109/e287cf02-8cc2-4386-baee-505a5b406266) After (with scroll): ![image](https://github.com/tensorflow/tensorboard/assets/78179109/78c45e94-38aa-4997-971d-d7148d548bda) --- tensorboard/webapp/runs/views/runs_table/runs_data_table.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorboard/webapp/runs/views/runs_table/runs_data_table.scss b/tensorboard/webapp/runs/views/runs_table/runs_data_table.scss index d6c79bb5be..246b95cbe2 100644 --- a/tensorboard/webapp/runs/views/runs_table/runs_data_table.scss +++ b/tensorboard/webapp/runs/views/runs_table/runs_data_table.scss @@ -22,7 +22,7 @@ $_arrow_size: 16px; } :host { - overflow-y: scroll; + overflow-y: auto; width: 100%; }