feat(SW-718) Updated css naming

This commit is contained in:
Pontus Dreij
2025-01-28 10:50:06 +01:00
parent f1ca27ebd6
commit b42f92b121
2 changed files with 5 additions and 9 deletions

View File

@@ -243,7 +243,7 @@ export default function Rooms({
</Subtitle>
)}
<div className={classNames}>
<div className={styles.selectedRoomPanel}>
<div className={styles.roomPanel}>
<SelectedRoomPanel
roomIndex={index}
room={room}

View File

@@ -15,7 +15,7 @@
padding: var(--Spacing-x2);
}
._basePanel {
.roomPanel {
display: grid;
grid-template-rows: 0fr;
opacity: 0;
@@ -25,20 +25,16 @@
grid-template-rows 0.3s ease;
}
._basePanel > * {
.roomPanel > * {
overflow: hidden;
}
.roomSelectionPanel {
composes: _basePanel;
composes: roomPanel;
gap: var(--Spacing-x2);
}
.selectedRoomPanel {
composes: _basePanel;
}
.roomSelectionPanelContainer.selected .selectedRoomPanel {
.roomSelectionPanelContainer.selected .roomPanel {
grid-template-rows: 1fr;
opacity: 1;
height: auto;