Reduce font size on menu and project infra
This commit is contained in:
parent
8888f9d2d8
commit
984efe207b
2
public/assets/vendor/css/core.css
vendored
2
public/assets/vendor/css/core.css
vendored
@ -35469,7 +35469,7 @@ html:not([dir="rtl"]) .menu-toggle::after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu-vertical .menu-item .menu-link {
|
.menu-vertical .menu-item .menu-link {
|
||||||
font-size: 0.8375rem;
|
font-size: 0.7375rem;
|
||||||
min-height: 1.825rem;
|
min-height: 1.825rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,31 +1,34 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
const Building = ( {building, toggleBuilding, expandedBuildings, getContent} ) =>
|
const Building = ({
|
||||||
{
|
building,
|
||||||
|
toggleBuilding,
|
||||||
|
expandedBuildings,
|
||||||
|
getContent,
|
||||||
|
}) => {
|
||||||
|
return (
|
||||||
|
<React.Fragment key={building.id}>
|
||||||
|
<tr className="overflow-auto">
|
||||||
|
<td
|
||||||
|
colSpan="4"
|
||||||
|
className="text-start"
|
||||||
|
style={{ background: "#f0f0f0", cursor: "pointer" }}
|
||||||
|
onClick={() => toggleBuilding(building.id)}
|
||||||
|
>
|
||||||
|
<div className="row table-responsive">
|
||||||
|
<h6 style={{ marginBottom: "0px" }}>
|
||||||
|
{building.name}
|
||||||
|
{expandedBuildings.includes(building.id) ? (
|
||||||
|
<i className="bx bx-chevron-down"></i>
|
||||||
|
) : (
|
||||||
|
<i className="bx bx-chevron-right"></i>
|
||||||
|
)}
|
||||||
|
</h6>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
return (
|
{expandedBuildings.includes(building.id) && getContent(building)}
|
||||||
<React.Fragment key={building.id}>
|
</React.Fragment>
|
||||||
<tr className="overflow-auto">
|
);
|
||||||
<td
|
};
|
||||||
colSpan="4"
|
export default Building;
|
||||||
className="text-start"
|
|
||||||
style={{ background: "#f0f0f0", cursor: "pointer" }}
|
|
||||||
onClick={() => toggleBuilding(building.id)}
|
|
||||||
>
|
|
||||||
<div className="row table-responsive">
|
|
||||||
<h5 style={{ marginBottom: "0px" }}>
|
|
||||||
{building.name}
|
|
||||||
{expandedBuildings.includes(building.id) ? (
|
|
||||||
<i className="bx bx-chevron-down"></i>
|
|
||||||
) : (
|
|
||||||
<i className="bx bx-chevron-right"></i>
|
|
||||||
)}
|
|
||||||
</h5>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
{expandedBuildings.includes(building.id) && getContent(building)}
|
|
||||||
</React.Fragment>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
export default Building
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user