mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
set tooltip width so div is centered around triggering element (#15542)
This commit is contained in:
parent
1005e27522
commit
c06b44584d
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue