Skip to content

Commit

Permalink
Small UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Mar 8, 2024
1 parent 7b70ec8 commit dd21c1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/atlas/src/components/Carousel/Carousel.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const isPropValid = (prop: string) => prop !== 'minSlideWidth'
export const StyledSwiper = styled(Swiper, { shouldForwardProp: isPropValid })<StyledSwiperProps>`
width: 100%;
.swiper-slide {
height: unset;
}
.swiper-pagination {
display: flex;
justify-content: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const MarketDetails = ({ token }: { token: FullCreatorTokenFragment }) => {
[token]
)
return (
<>
<FlexBox flow="column" gap={3}>
<DetailsContent
caption="PRICE PER UNIT"
content={calculateSlippageAmount(1) ?? 0}
Expand All @@ -150,6 +150,6 @@ const MarketDetails = ({ token }: { token: FullCreatorTokenFragment }) => {
</Text>
<Information text="An automated market maker (AMM) is an algorithm that helps to buy and sell tokens by using price curves which automatically set prices and match buyers and sellers." />
</SupplyLine>
</>
</FlexBox>
)
}

0 comments on commit dd21c1e

Please sign in to comment.