Skip to content

Commit

Permalink
Merge pull request #99 from kvarteret/mathias/topbar-should-not-float…
Browse files Browse the repository at this point in the history
…-over-content

Prevent topbar to float over banner image
  • Loading branch information
mathiash98 committed Oct 19, 2023
2 parents e3903bb + 82cd21a commit 3b00dbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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
3 changes: 2 additions & 1 deletion 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 All @@ -79,7 +80,7 @@ const Layout = ({ children, data }) => {
.header-bar {
height: 80px;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 1);
box-shadow: 0 4px 4px rgb(0 0 0 / 40%);
backdrop-filter: blur(4px);
}
Expand Down

0 comments on commit 3b00dbc

Please sign in to comment.