Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix style for tooltip of tasks in the plan editor #169

Open
kostobog opened this issue May 26, 2023 · 0 comments
Open

Fix style for tooltip of tasks in the plan editor #169

kostobog opened this issue May 26, 2023 · 0 comments

Comments

@kostobog
Copy link
Collaborator

kostobog commented May 26, 2023

Tooltip on task in the plan editor cannot be adjusted using css unless !important is used. Find and implement a better solution without !important. See 02f6744 in #168

Currently implementation can be found in src/styles/global.scss.
The css rule is:

.tippy-box {
  max-width: 1000px !important;
}

The tooltip is from package tippyjs used in react-maintenance-planner and the max-width is added as inline style in the div element.

@blcham

@kostobog kostobog changed the title Cannot change tooltip width Fix style for tooltip of tasks in the plan editor May 26, 2023
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

No branches or pull requests

1 participant