KEMBAR78
Show histogram tooltips that bleed out of content box. by bmd3k · Pull Request #5631 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@bmd3k
Copy link
Contributor

@bmd3k bmd3k commented Mar 25, 2022

  • Motivation for features / changes

    The small histogram tooltip can be cutoff by the top or right edges (Googlers, see b/226775031).

  • Technical description of changes

    A couple of ancestor elements of the tooltip element currently set overflow: hidden. We change these elements so that the effective value is 'overflow: visible'.

    This has the somewhat unintended side effect of exposing an additional ~1px height flat line just above the x axis (because the set of lines in the '.content' element ever so slightly overflow). This is probably ok since we'd prefer for the user to see all histogram lines. We should consider in the future tightening up the histogram rendering so that all the lines fit nicely into the '.content' element. (Googlers, see screenshot diffs in cl/437279846).

  • Screenshots

    Tooltip at top before:

    image

    Tooltip at top after:

    image

    Tooltip at right before:

    image

    Tooltip at right after:

image

@bmd3k bmd3k requested a review from japie1235813 March 25, 2022 17:42
@bmd3k bmd3k changed the title Show histogram tooltip that bleed out of content box. Show histogram tooltips that bleed out of content box. Mar 29, 2022
@bmd3k bmd3k merged commit aae5287 into tensorflow:master Mar 29, 2022
@bmd3k bmd3k deleted the histogram-tooltip-visibility branch April 20, 2022 15:13
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
* Motivation for features / changes

  The small histogram tooltip can be cutoff by the top or right edges (Googlers, see b/226775031).

* Technical description of changes

  A couple of ancestor elements of the tooltip element currently set `overflow: hidden`. We change these elements so that the effective value is 'overflow: visible'.

  This has the somewhat unintended side effect of exposing an additional ~1px height flat line just above the x axis (because the set of lines in the '.content' element ever so slightly overflow). This is probably ok since we'd prefer for the user to see all histogram lines. We should consider in the future tightening up the histogram rendering so that all the lines fit nicely into the '.content' element. (Googlers, see screenshot diffs in cl/437279846).
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
* Motivation for features / changes

  The small histogram tooltip can be cutoff by the top or right edges (Googlers, see b/226775031).

* Technical description of changes

  A couple of ancestor elements of the tooltip element currently set `overflow: hidden`. We change these elements so that the effective value is 'overflow: visible'.

  This has the somewhat unintended side effect of exposing an additional ~1px height flat line just above the x axis (because the set of lines in the '.content' element ever so slightly overflow). This is probably ok since we'd prefer for the user to see all histogram lines. We should consider in the future tightening up the histogram rendering so that all the lines fit nicely into the '.content' element. (Googlers, see screenshot diffs in cl/437279846).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants