-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maps] show layer name in tooltip (#97175)
* [Maps] show layer name in tooltip * update snapshot * add jest test for Header * add comment for clarity * add header element and classes to truncate text * add layer icon in tooltip header * handle case where layer does not exist * tslint and update jest test and snapshot Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
660af0f
commit 0e5f12f
Showing
10 changed files
with
342 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 17 additions & 66 deletions
83
...__snapshots__/tooltip_header.test.js.snap → ...tooltip/__snapshots__/footer.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
111 changes: 111 additions & 0 deletions
111
...ps/public/connected_components/mb_map/features_tooltip/__snapshots__/header.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,9 @@ | |
justify-content: flex-end; | ||
} | ||
} | ||
|
||
.mapFeatureTooltip_layerIcon { | ||
img { | ||
margin-bottom: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.