Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #59 from smartive-education/fix/sticky-header
Browse files Browse the repository at this point in the history
fix: sticky header
  • Loading branch information
nschaer92 authored Apr 1, 2023
2 parents 06a4865 + 7399ce4 commit 6eb20ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/page-header/page-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type PageHeaderProps = {

export const PageHeader: FC<PageHeaderProps> = ({ children }) => {
// Gemäss Figma Style-Definition ist ein Padding Y von 12px vorgesehen. Da unser Design System keine Spacing Definition für 12px aufweist, wurde hier bewusst 16px (s) gewählt.
const pageHeaderBaseStyle = ['bg-violet-600', 'py-s', 'px-l'];
const pageHeaderBaseStyle = ['sticky', 'top-0', 'z-[100]', 'bg-violet-600', 'py-s', 'px-l'];

return (
<header className={mergeClassNames(pageHeaderBaseStyle)}>
Expand Down

0 comments on commit 6eb20ff

Please sign in to comment.