visuddhinanda 3 лет назад
Родитель
Сommit
383d8af85d
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      dashboard/src/components/template/Note.tsx

+ 4 - 1
dashboard/src/components/template/Note.tsx

@@ -13,7 +13,10 @@ const NoteCtl = ({ trigger, note, children }: IWidgetNoteCtl) => {
   const show = trigger ? trigger : <InfoCircleOutlined />;
   return (
     <>
-      <Popover content={children} placement="bottom">
+      <Popover
+        content={<div style={{ width: 500 }}>{children}</div>}
+        placement="bottom"
+      >
         <Link>{show}</Link>
       </Popover>
     </>