소스 검색

style(exam->device): adjust device area icon size to be larger on exam page
close #28

sw 1 개월 전
부모
커밋
679f1d3b1f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/pages/exam/DeviceArea.tsx

+ 5 - 0
src/pages/exam/DeviceArea.tsx

@@ -18,10 +18,13 @@ const DeviceArea = ({ className }: { className?: string }) => {
   const tabletStatus = useSelector(
     (state: RootState) => state.deviceArea.tabletStatus
   );
+  const btnStyle = { width: '1.5rem', height: '1.5rem' };
+  //const classValue='m-1';
 
   return (
     <Flex justify="end" align="center" className={`w-full ${className}`}>
       <Button
+        style={btnStyle}
         icon={
           <ToolOutlined
             className={
@@ -38,6 +41,7 @@ const DeviceArea = ({ className }: { className?: string }) => {
         title={`手闸状态指示器: ${generatorStatus}`}
       />
       <Button
+        style={btnStyle}
         icon={
           <CameraOutlined
             className={
@@ -52,6 +56,7 @@ const DeviceArea = ({ className }: { className?: string }) => {
         title={`曝光指示器: ${exposureStatus}`}
       />
       <Button
+        style={btnStyle}
         icon={
           <TabletOutlined
             className={