diff --git a/public/assets/vendor/css/core.css b/public/assets/vendor/css/core.css index 88827bc4..b5c63690 100644 --- a/public/assets/vendor/css/core.css +++ b/public/assets/vendor/css/core.css @@ -35469,7 +35469,7 @@ html:not([dir="rtl"]) .menu-toggle::after { } .menu-vertical .menu-item .menu-link { - font-size: 0.8375rem; + font-size: 0.7375rem; min-height: 1.825rem; } diff --git a/src/components/Project/Infrastructure/Building.jsx b/src/components/Project/Infrastructure/Building.jsx index 30d5eacf..419e9b09 100644 --- a/src/components/Project/Infrastructure/Building.jsx +++ b/src/components/Project/Infrastructure/Building.jsx @@ -1,31 +1,34 @@ import React from "react"; -const Building = ( {building, toggleBuilding, expandedBuildings, getContent} ) => -{ +const Building = ({ + building, + toggleBuilding, + expandedBuildings, + getContent, +}) => { + return ( + + + toggleBuilding(building.id)} + > +
+
+ {building.name}   + {expandedBuildings.includes(building.id) ? ( + + ) : ( + + )} +
+
+ + - return ( - - - toggleBuilding(building.id)} - > -
-
- {building.name}   - {expandedBuildings.includes(building.id) ? ( - - ) : ( - - )} -
-
- - - - {expandedBuildings.includes(building.id) && getContent(building)} -
- ); - }; - export default Building \ No newline at end of file + {expandedBuildings.includes(building.id) && getContent(building)} +
+ ); +}; +export default Building;