Skip to content

Commit e1f6dfb

Browse files
authored
Merge pull request #471 from datum-cloud/bugfix
chore: Update components.css
2 parents 482627e + 3dbb4bf commit e1f6dfb

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

src/components/home/FirstSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if (content.data.images) {
2929
}
3030
---
3131

32-
<section class="bg-glacier-mist-700 section--block section--block--pad">
32+
<section class="bg-glacier-mist-700 section--block section--block--pad overflow-clip">
3333
<div class="absolute right-0 bottom-0 z-0 flex w-[663px]">
3434
<Image
3535
src={sceneTree}

src/components/home/SecondSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { content } = Astro.props as ContentProps;
99
---
1010

1111
<section
12-
class="bg-glacier-mist-800 section--block pt-16 pb-20 md:pt-20 md:pb-24 lg:pt-28 lg:pb-36 xl:pt-40 xl:pb-40"
12+
class="bg-glacier-mist-800 section--block overflow-clip pt-16 pb-20 md:pt-20 md:pb-24 lg:pt-28 lg:pb-36 xl:pt-40 xl:pb-40"
1313
>
1414
<div class="max-width flex max-w-243 align-middle">
1515
<!-- Main content container -->

src/v1/styles/components.css

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,17 @@
6565
@apply flex items-center justify-center gap-7;
6666
}
6767

68-
.footer-illustration-container {
69-
@apply relative z-9;
70-
}
71-
72-
.footer-illustration-image {
73-
@apply h-auto w-full -translate-y-3;
74-
}
75-
7668
.footer-illustration-container {
7769
@apply bg-glacier-mist-700 relative;
70+
@apply relative z-9;
7871

7972
&:before {
8073
@apply bg-midnight-fjord absolute inset-0 top-auto bottom-0 left-0 z-0 h-4 w-full content-[''];
8174
}
8275
}
8376

8477
.footer-illustration-image {
85-
@apply relative mr-auto size-auto max-h-43 max-w-none object-cover md:max-h-none md:max-w-full;
78+
@apply relative mr-auto size-auto w-full -translate-y-3 object-cover;
8679
}
8780

8881
.footer-main {

0 commit comments

Comments
 (0)