Skip to content

Commit

Permalink
improve projects banner size
Browse files Browse the repository at this point in the history
  • Loading branch information
vdawg-git committed Jun 19, 2024
1 parent 5d7da48 commit 04fae1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/homepage/ProjectBanner.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const { src } = Astro.props
height: 100%;
flex-grow: 1;
max-height: none;
width: 100%;
clip-path: polygon(0 0, 100% 0, 100% 100%, 4rem 100%);
@apply rounded-l-none rounded-r-3xl;
flex-shrink: 9999;
Expand Down
2 changes: 1 addition & 1 deletion src/components/homepage/ProjectBody.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Props {
// Left side content
}
<div
class="flex min-w-0 shrink grow-[5] flex-col justify-end @4xl:min-w-20 sm:p-8 lg:p-8"
class="flex min-w-0 max-w-max shrink grow-[5] flex-col justify-end @4xl:min-w-20 sm:p-8 lg:p-8"
>
<slot name="logo" />

Expand Down
2 changes: 1 addition & 1 deletion src/components/homepage/ProjectContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props {
const { description, name, descriptionClass, titleClass } = Astro.props
---

<div class="flex flex-col gap-4">
<div class="flex max-w-max flex-col gap-4">
<h2
data-project-title
class={cn(
Expand Down

0 comments on commit 04fae1b

Please sign in to comment.