Fixed addTask bar background color issues
This commit is contained in:
parent
0b730b8b2d
commit
0616cde993
10
src/App.tsx
10
src/App.tsx
@ -10,8 +10,16 @@ import store from "./store";
|
|||||||
export const App = () => {
|
export const App = () => {
|
||||||
return (
|
return (
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<Layout appBar={<AppBar />} title="My tasks" content={<TodoList />} />
|
<Layout
|
||||||
|
appBar={<AppBar />}
|
||||||
|
title="My tasks"
|
||||||
|
content={
|
||||||
|
<>
|
||||||
|
<TodoList />
|
||||||
<AddTask />
|
<AddTask />
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
/>
|
||||||
</Provider>
|
</Provider>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -51,6 +51,8 @@ export const AddTask: React.FC = () => {
|
|||||||
top: (theme) => "-" + theme.spacing(2),
|
top: (theme) => "-" + theme.spacing(2),
|
||||||
left: 0,
|
left: 0,
|
||||||
background: (theme) => theme.palette.background.paper,
|
background: (theme) => theme.palette.background.paper,
|
||||||
|
backgroundImage:
|
||||||
|
"linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15))",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<InputBase
|
<InputBase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user