Skip to content

Commit

Permalink
Prevent topbar to float over banner image
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
mathiash98 committed Oct 11, 2023
1 parent e3903bb commit fa947c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/kvarteret/components/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const ComponentLookup = ({ type, data }) => {
case "call_to_action_section":
return <CallToActionSection {...data} />;
case "rooms_section":
return <RoomSection {...data}/>
return <RoomSection {...data} />;

default:
return <div>TODO: Missing section types</div>;
Expand All @@ -87,7 +87,7 @@ const Page = ({ data }) => (
max-width: 1080px;
margin: auto;
padding: 0 40px;
margin-top: 100px;
margin-top: 20px;
margin-bottom: 40px;
}
`}
Expand Down
2 changes: 1 addition & 1 deletion apps/kvarteret/pages/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const EventSearch = () => {
margin: 20px;
}
.container {
margin-top: 100px;
margin-top: 20px;
max-width: 1080px;
width: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions packages/dak-components/lib/components/layout/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const Layout = ({ children, data }) => {
.content {
flex: 1;
margin-top: 80px;
}
.header {
Expand Down

0 comments on commit fa947c6

Please sign in to comment.