Explorar o código

refine copy button style

czhen %!s(int64=4) %!d(string=hai) anos
pai
achega
1c4fe04939
Modificáronse 1 ficheiros con 7 adicións e 6 borrados
  1. 7 6
      client/src/components/advancedSearch/CopyButton.tsx

+ 7 - 6
client/src/components/advancedSearch/CopyButton.tsx

@@ -1,9 +1,5 @@
 import React, { useState, FC } from 'react';
-import {
-  makeStyles,
-  Theme,
-  createStyles,
-} from '@material-ui/core';
+import { makeStyles, Theme, createStyles } from '@material-ui/core';
 import { CopyButtonProps } from './Types';
 import icons from '../icons/Icons';
 import CustomIconButton from '../customButton/CustomIconButton';
@@ -46,7 +42,12 @@ CopyButton.displayName = 'CopyButton';
 const useStyles = makeStyles((theme: Theme) =>
   createStyles({
     root: {},
-    button: {},
+    button: {
+      '& svg': {
+        width: '16px',
+        height: '16px',
+      },
+    },
     tooltip: {},
   })
 );