Skip to content

Commit

Permalink
Merge pull request #529 from MuckRock/sveltekit-embed-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast authored Apr 25, 2024
2 parents a91301c + 3f782dd commit 7dd3406
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
.DC-note-image-max-bounds {
border-radius: var(--radius);
box-shadow: 0 0 7px rgba(0, 0, 0, 0.25);
box-sizing: content-box;
position: relative;
font-size: 0;
overflow: hidden;
Expand Down
13 changes: 11 additions & 2 deletions src/routes/(embed)/projects/[project_id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,17 @@
</div>

<style>
header {
padding: 1rem;
}
.documents {
display: flex;
flex-flow: row wrap;
padding: 1rem;
}
@media (min-width: 720px) {
.documents {
column-count: 3;
}
}
</style>
2 changes: 1 addition & 1 deletion src/routes/(embed)/stories/project-embed.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
title: "Embed / Project",
component: ProjectEmbed,
tags: ["autodocs"],
parameters: { layout: "centered" },
parameters: { layout: "fullscreen" },
};
const data = {
Expand Down

0 comments on commit 7dd3406

Please sign in to comment.