Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
1bfabfc9
Commit
1bfabfc9
authored
Jul 26, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复select组件样式
parent
aa9b7a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
MySelect.tsx
src/components/mui/MySelect.tsx
+6
-1
No files found.
src/components/mui/MySelect.tsx
View file @
1bfabfc9
...
...
@@ -94,7 +94,12 @@ export default function MySelect(props: IProps) {
MuiInputLabel
:
{
styleOverrides
:
{
root
:
{
// top: "-9px",
// 下拉框未选择时的label定位
top
:
"-9px"
,
},
shrink
:
{
// 下拉框已经选择时的label定位
top
:
0
,
},
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment