0

I created a tooltip, and I have the following CSS. Please note that on Mac, works like a charm but on windows - no luck. Even when the content is not overflowing, the scrollbar tracks show. how can I have my tooltips without them? And if they need them, how can I show only the vertical one.

.tooltip-container {
  font-size: 1.2rem;
  overflow: scroll;
  max-height: 200px;

enter image description here

1 Answer 1

1

Hide the x-axis with overflow-x: hidden, on the y-axis use the 'auto' value which will only show the scrollbar if needed

.tooltip-container {
  font-size: 1.2rem;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 200px;
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks - I'll give this a try in the morning. If good, I'll be happy to accept! - thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.