mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
feat: add a sticky page header
This commit is contained in:
@@ -12,7 +12,10 @@ export interface Props {
|
||||
}
|
||||
|
||||
const { backLink, class: className, navigation = true } = Astro.props;
|
||||
const classes = cx('grid w-full grid-cols-18 grid-rows-layout mbe-layout print:hidden', className);
|
||||
const classes = cx(
|
||||
'sticky grid w-full grid-cols-18 grid-rows-layout bg-shibui-100 mbe-layout block-start-0 dark:bg-shibui-900 print:hidden z-50',
|
||||
className
|
||||
);
|
||||
---
|
||||
|
||||
<header class={classes} role="banner">
|
||||
|
||||
Reference in New Issue
Block a user