kbss-cvut / csat-maintenance-planner

Maintenance planner for CSAT.
GNU Lesser General Public License v3.0
0 stars 0 forks source link

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

Open kostobog opened 1 year ago

kostobog commented 1 year ago

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 https://github.com/kbss-cvut/csat-maintenance-planner/pull/168/commits/02f674469d50df689cd9ddf158a90d145d11007c 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