Compare commits

...

4 Commits

Author SHA1 Message Date
Claire Chabas bc1fbe884b Merge branch 'main' into claire/RND-6068-fix-outline-position
* main:
  Setup package and deployment for v2 (#2791)
  Fix icons generate script (#2798)
  Revert "Highlight code client-side" (#2796)
2025-01-31 13:27:55 +01:00
Claire Chabas 875b81b6b6 remove previously tested styles 2025-01-30 19:46:47 +01:00
Claire Chabas d3c7f4ae01 calc top value based on page 2025-01-30 19:35:49 +01:00
Claire Chabas 020269d562 Fix page outline positioning 2025-01-30 19:16:28 +01:00
@@ -25,11 +25,11 @@ import { PageFeedbackForm } from '../PageFeedback';
function getTopOffset(props: { sectionsHeader: boolean; topHeader: boolean }) {
if (props.topHeader && props.sectionsHeader) {
return 'lg:top-[6.75rem] lg:max-h-[calc(100vh_-_6.75rem)]';
return 'lg:top-[calc(100vh_-_6.75rem)] lg:max-h-[calc(100vh_-_6.75rem)]';
}
if (props.topHeader) {
return 'lg:top-16 lg:max-h-[calc(100vh_-_4rem)]';
return 'lg:top-[calc(100vh_-_4rem)] lg:max-h-[calc(100vh_-_4rem)]';
}
return 'lg:top-0 lg:max-h-screen';
@@ -137,7 +137,7 @@ export async function PageAside(props: {
</div>
<div
className={tcls(
'overflow-auto',
'overflow-y-auto',
'overflow-x-visible',
'flex-1',
'flex',