Skip to content

Commit

Permalink
Bug Fix: Make the runs data table only show a scrollbar when needed (#…
Browse files Browse the repository at this point in the history
…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)
  • Loading branch information
rileyajones authored Oct 25, 2023
1 parent 3b4c4fe commit ceb473c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $_arrow_size: 16px;
}

:host {
overflow-y: scroll;
overflow-y: auto;
width: 100%;
}

Expand Down

0 comments on commit ceb473c

Please sign in to comment.