瀏覽代碼

fix tooltip (#4560)

Feroze Mohideen 2 年之前
父節點
當前提交
d0353d30f5
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      dashboard/src/components/porter/Tooltip.tsx

+ 1 - 2
dashboard/src/components/porter/Tooltip.tsx

@@ -46,8 +46,7 @@ export default Tooltip;
 
 const TooltipContainer = styled.div`
   position: relative;
-  width: 100%;
-  height: 100%;
+  display: inline-flex;
 `;
 
 const TooltipContent = styled.div<{ position: string; width?: string }>`