set tooltip width so div is centered around triggering element (#15542)
This commit is contained in:
parent
1005e27522
commit
c06b44584d
|
@ -4,6 +4,7 @@
|
|||
@import (reference) "~ui/styles/bootstrap/bootstrap";
|
||||
@import "./react-input-range";
|
||||
@import "./react-select";
|
||||
@import "./pui_react";
|
||||
|
||||
html,
|
||||
body {
|
||||
|
|
5
src/ui/public/styles/pui_react.less
Normal file
5
src/ui/public/styles/pui_react.less
Normal file
|
@ -0,0 +1,5 @@
|
|||
// React 16 pushes tooltip to far left of page
|
||||
// Providing width corrects the problem and centers tooltip over triggering element
|
||||
.tooltip {
|
||||
width: 1px;
|
||||
}
|
Loading…
Reference in a new issue