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

[Enterprise Search] Migrate util and components from ent-search #76051

Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/

.truncated-content {
position: relative;
z-index: 2;
display: inline-block;
white-space: nowrap;

&__tooltip {
@include position('vertical');
scottybollinger marked this conversation as resolved.
Show resolved Hide resolved
left: -3px;
margin-top: -1px;
background: $euiColorEmptyShade;
border-radius: 2px;
width: calc(100% + 4px);
height: calc(100% + 4px);
padding: 0 2px;
display: none;
align-items: center;
box-shadow: 0 1px 3px rgba(black, 0.1);
border: 1px solid $euiBorderColor;
width: auto;
white-space: nowrap;

.truncated-content:hover & {
display: flex;
}
}
}