Merged in fix/SW-1065-meetings-subpage (pull request #1353)
Fix(SW-1065): Meetings subpage * fix(SW-1065): allow meeting cards to have different heights * feat(SW-1065): add meetingroom description Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
.grid {
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
.grid:not(.allVisible) > :nth-child(n + 4) {
|
.grid:not(.allVisible) > :nth-child(n + 4) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import Image from "@/components/Image"
|
|||||||
|
|
||||||
import Divider from "../Divider"
|
import Divider from "../Divider"
|
||||||
import ShowMoreButton from "../ShowMoreButton"
|
import ShowMoreButton from "../ShowMoreButton"
|
||||||
|
import Body from "../Text/Body"
|
||||||
import Caption from "../Text/Caption"
|
import Caption from "../Text/Caption"
|
||||||
import Subtitle from "../Text/Subtitle"
|
import Subtitle from "../Text/Subtitle"
|
||||||
import { translateRoomLighting, translateSeatingType } from "./utils"
|
import { translateRoomLighting, translateSeatingType } from "./utils"
|
||||||
@@ -61,6 +62,11 @@ export default function MeetingRoomCard({ room }: MeetingRoomCardProps) {
|
|||||||
</Caption>
|
</Caption>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{room.content.texts.descriptions.medium ? (
|
||||||
|
<Body color="uiTextHighContrast">
|
||||||
|
{room.content.texts.descriptions.medium}
|
||||||
|
</Body>
|
||||||
|
) : null}
|
||||||
{opened && (
|
{opened && (
|
||||||
<div className={styles.openedInfo}>
|
<div className={styles.openedInfo}>
|
||||||
<div className={styles.rowItem}>
|
<div className={styles.rowItem}>
|
||||||
|
|||||||
Reference in New Issue
Block a user