Skip to content

Commit

Permalink
fix: marquee view (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanK-W32 authored Jul 19, 2023
1 parent 7182c55 commit 4de01b3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
9 changes: 9 additions & 0 deletions views/About/components/Partners/Partners.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@
}
}

&__Ticker {
:global {
.child {
display: flex;
}
}
}

&__TickerItem {
display: block;
width: 100px;
height: $gap-lg;
padding: $gap-xxs;
Expand Down
24 changes: 9 additions & 15 deletions views/Home/components/Partners/Partners.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@
}
}

&__AfterTitle {
width: 270px;
align-self: center;
color: $sonic-silver;

&::before {
margin-right: 5px;
content: '>';
}

@include media(large-laptop) {
align-self: flex-end;
}
}

&__Subtitle {
margin-bottom: $gap-xxl;

Expand Down Expand Up @@ -85,7 +70,16 @@
}
}

&__Ticker {
:global {
.child {
display: flex;
}
}
}

&__TickerItem {
display: block;
width: 100px;
height: $gap-lg;
padding: $gap-xxs;
Expand Down
7 changes: 0 additions & 7 deletions views/Home/components/Partners/Partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ export const Partners = () => {
<Text className={styles.Partners__Title} type="h2" size="heading1" uppercase>
{t('partners.title')}
</Text>

{isLaptop ? (
<Text className={styles.Partners__AfterTitle}>
{t('partners.titleAfter.upper')} <br />
{t('partners.titleAfter.lower')}
</Text>
) : null}
</div>

<Text className={styles.Partners__Subtitle} type="h3" size="heading3">
Expand Down

1 comment on commit 4de01b3

@vercel
Copy link

@vercel vercel bot commented on 4de01b3 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.