Commit 2fa04910 authored by chenshouchao's avatar chenshouchao

UI: input DEmo

parent 79789509
...@@ -37,9 +37,6 @@ const MyInput = (props: MyInputProps) => { ...@@ -37,9 +37,6 @@ const MyInput = (props: MyInputProps) => {
fontSize: "14px", fontSize: "14px",
"&.MuiInputBase-sizeSmall": { "&.MuiInputBase-sizeSmall": {
height: "32px", height: "32px",
"& .MuiOutlinedInput-notchedOutline": {
// height: "34px",
},
}, },
}, },
}, },
...@@ -47,7 +44,6 @@ const MyInput = (props: MyInputProps) => { ...@@ -47,7 +44,6 @@ const MyInput = (props: MyInputProps) => {
MuiInputLabel: { MuiInputLabel: {
styleOverrides: { styleOverrides: {
root: { root: {
// top: label ? "-5px" : "-10px",
top: "-9px", top: "-9px",
}, },
shrink: { shrink: {
...@@ -61,9 +57,6 @@ const MyInput = (props: MyInputProps) => { ...@@ -61,9 +57,6 @@ const MyInput = (props: MyInputProps) => {
MuiOutlinedInput: { MuiOutlinedInput: {
styleOverrides: { styleOverrides: {
root: { root: {
// height: "36px",
// lineHeight: "36px",
// paddingRight: "12px",
"&.Mui-focused .MuiOutlinedInput-notchedOutline": { "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderWidth: "1px", borderWidth: "1px",
}, },
...@@ -79,17 +72,8 @@ const MyInput = (props: MyInputProps) => { ...@@ -79,17 +72,8 @@ const MyInput = (props: MyInputProps) => {
padding: "6.5px 12px", padding: "6.5px 12px",
verticalAlign: "middle", verticalAlign: "middle",
}, },
// focused: {
// "&.MuiOutlinedInput-notchedOutline": {
// borderWidth: "1px",
// },
// },
notchedOutline: {
// height: "36px",
},
}, },
}, },
// .css-1lkr5rz-MuiInputBase-input-MuiOutlinedInput-input
}, },
}); });
......
import { memo } from "react"; import { memo } from "react";
import { InputAdornment } from "@mui/material"; import { InputAdornment } from "@mui/material";
import InputComponent from "@/components/mui/MyInput"; // import InputComponent from "@/components/mui/MyInput";
// import InputComponent from "@/components/mui/MyInputCopy"; import InputComponent from "@/components/mui/MyInputCopy";
const ProjectMembers = () => { const ProjectMembers = () => {
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment