Skip to content

Commit

Permalink
Merge pull request #134 from Linaro/no-jira-fix-image-cards
Browse files Browse the repository at this point in the history
[NO-JIRA] - fix image cards
  • Loading branch information
parker23b authored Oct 22, 2024
2 parents 36f73f8 + 6756f04 commit f8cddb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions src/components/sections/ImageCards.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ const { cards, styles, button_cards } = Astro.props;
class="no-underline"
target={button.url.startsWith("https") ? "_blank" : "_self"}
>
<div
class:list={[
`linaro-gradient-button justify-self-start items-start `,
styles?.button,
]}
>
<div class:list={[`linaro-gradient-button`, styles?.button]}>
{button.text}
</div>
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/content/pages/whitepapers.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ flow:
- component: image_cards
styles:
container: gap-2 justify-center flex flex-wrap
button: my-4
card: flex px-4 flex-col justify-between items-start rounded-2xl text-white bg-black aspect-square px-1 w-full max-w-[30ch]
button: my-4 max-w-[129px]
card: flex px-4 flex-col justify-between rounded-2xl text-white bg-black w-full max-w-[30ch] min-h-[450px]
card_title: text-xl m-0 text-black font-normal
image: w-full h-[10rem] max-w-full object-cover rounded-2xl
cards:
Expand Down

0 comments on commit f8cddb6

Please sign in to comment.