Explorar o código

card size size="small"

visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
83592b69fc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      dashboard/src/components/comment/CommentShow.tsx

+ 2 - 1
dashboard/src/components/comment/CommentShow.tsx

@@ -55,6 +55,7 @@ const Widget = ({ data, onEdit, onSelect }: IWidget) => {
   return (
     <div>
       <Card
+        size="small"
         title={
           <Space>
             {data.user.nickName}
@@ -70,7 +71,7 @@ const Widget = ({ data, onEdit, onSelect }: IWidget) => {
             ></Button>
           </Dropdown>
         }
-        style={{ width: "auto" }}
+        style={{ width: "100%" }}
       >
         <span
           onClick={(e) => {