bolding the text for selected yard, changing font colour in drawer title to black
This commit is contained in:
parent
631b7c7934
commit
8c66a9d2c8
5 changed files with 2 additions and 5 deletions
|
|
@ -130,6 +130,7 @@ const useStyles = makeStyles((theme: Theme) => {
|
||||||
borderTopLeftRadius: "6px",
|
borderTopLeftRadius: "6px",
|
||||||
borderTopRightRadius: "6px",
|
borderTopRightRadius: "6px",
|
||||||
background: theme.palette.background.default,
|
background: theme.palette.background.default,
|
||||||
|
fontWeight: 1000,
|
||||||
transform: "0.3s ease-in-out",
|
transform: "0.3s ease-in-out",
|
||||||
// "linear-gradient(rgba(150, 150, 150, 0.3),"
|
// "linear-gradient(rgba(150, 150, 150, 0.3),"
|
||||||
// + theme.palette.background.default + " 80%)"
|
// + theme.palette.background.default + " 80%)"
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@ export default function DisplayDrawer(props: Props) {
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography align="center" variant="h5">
|
<Typography sx={{ color: "black", fontWeight: 650}} align="center" variant="h5">
|
||||||
{title}
|
{title}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ export default function BinYardDrawer(props: Props) {
|
||||||
|
|
||||||
const drawerBody = () => {
|
const drawerBody = () => {
|
||||||
//return <Bins insert yardFilter={yard.key} />;
|
//return <Bins insert yardFilter={yard.key} />;
|
||||||
console.log(yard.key)
|
|
||||||
return <BinyardDisplay insert yardKey={yard.key} />;
|
return <BinyardDisplay insert yardKey={yard.key} />;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -547,7 +547,6 @@ export default function Bin(props: Props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const tasks = () => {
|
const tasks = () => {
|
||||||
console.log(showTasks())
|
|
||||||
if (showTasks()) {
|
if (showTasks()) {
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
|
|
|
||||||
|
|
@ -388,8 +388,6 @@ export default function BinProvider(props: PropsWithChildren<Props>) {
|
||||||
(keys ? "&keys=" + keys.join(",") : "") +
|
(keys ? "&keys=" + keys.join(",") : "") +
|
||||||
(types ? "&types=" + types.join(",") : "")
|
(types ? "&types=" + types.join(",") : "")
|
||||||
|
|
||||||
console.log(url)
|
|
||||||
|
|
||||||
return new Promise<AxiosResponse<pond.ListBinsAndDataResponse>>((resolve, reject)=>{
|
return new Promise<AxiosResponse<pond.ListBinsAndDataResponse>>((resolve, reject)=>{
|
||||||
get<pond.ListBinsAndDataResponse>(pondURL(url)).then(resp => {
|
get<pond.ListBinsAndDataResponse>(pondURL(url)).then(resp => {
|
||||||
resp.data = pond.ListBinsAndDataResponse.fromObject(resp.data)
|
resp.data = pond.ListBinsAndDataResponse.fromObject(resp.data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue