fix(BOOK-146): Synced default Sidepeek and SelfControlled Sidepeek in regards of functionality and looks

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2025-12-03 07:45:43 +00:00
parent c976079df1
commit a6b3904b2a
6 changed files with 45 additions and 121 deletions

View File

@@ -11,6 +11,7 @@ import { SidePeekContext } from './SidePeekContext'
import SidePeekSEO from './SidePeekSEO'
import { debounce } from '@scandic-hotels/common/utils/debounce'
import { KeepBodyVisible } from './KeepBodyVisible'
import styles from './sidePeek.module.css'
interface SidePeekProps {
@@ -112,6 +113,7 @@ export default function SidePeek({
</div>
</header>
<div className={styles.sidePeekContent}>{children}</div>
<KeepBodyVisible />
</aside>
</Dialog>
</Modal>