mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-22 22:47:48 +00:00
Create Tooltip component Fix Popover positioning calculations Add margins to popover Remove @atlaskit/tooltip Update all components to use the new Tooltip component Added tooltip actions and reducers for the following functionality: when a user hovers over an element is sees the tooltip for that element and then hovers another element that has a tooltip, instead of using the delay and animations we just unmount the current tooltip and mount the next one immediately
30 lines
396 B
SCSS
30 lines
396 B
SCSS
.popover {
|
|
margin: -16px -24px;
|
|
z-index: $popoverZ;
|
|
|
|
.popover-content {
|
|
margin: 16px 24px;
|
|
position: relative;
|
|
|
|
&.top {
|
|
bottom: 8px;
|
|
}
|
|
|
|
&.bottom {
|
|
top: 8px;
|
|
}
|
|
|
|
&.left {
|
|
right: 8px;
|
|
}
|
|
|
|
&.right {
|
|
left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.excalidraw .popover {
|
|
margin: 0;
|
|
}
|