Skip to content

Commit

Permalink
Merge pull request #469 from appearhere/carousel-fixes
Browse files Browse the repository at this point in the history
Fixing overflow and typography issues with carousel
  • Loading branch information
lukeamarsh committed Dec 18, 2019
2 parents 5f54ca4 + 6b36f23 commit 0f05228
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/core/src/components/Carousel/Carousel.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.title {
font-family: var(--font-avenir);
font-size: var(--fontsize-large-ii);
font-weight: var(--fontweight-demi);
letter-spacing: normal;
margin: 0 0 1.5rem 0;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.slides {
overflow-x: auto;
overflow-y: hidden;
transition: transform 0.5s ease 0s;
white-space: nowrap;
margin: 0 -0.25rem;
Expand All @@ -14,6 +15,7 @@
.slide {
display: inline-block;
white-space: normal;
vertical-align: top;
}

.slideInner {
Expand All @@ -24,4 +26,6 @@
margin: 0 0 1.5rem 0;
font-family: var(--font-avenir);
font-size: var(--fontsize-large-ii);
font-weight: var(--fontweight-demi);
letter-spacing: normal;
}
1 change: 1 addition & 0 deletions packages/core/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,4 @@ export Carousel from './Carousel/Carousel';
export MobileCarousel from './MobileCarousel/MobileCarousel';
export ScreenWidth from './ScreenWidth/ScreenWidth';
export IconLink from './IconLink/IconLink';
export RemoveOrphans from './RemoveOrphans/RemoveOrphans';
3 changes: 2 additions & 1 deletion packages/core/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ export {
CollapsibleProgressSteps,
WindowDimensionsProvider,
ScreenWidth,
IconLink
IconLink,
RemoveOrphans
} from './components/index.js';

export Colors from './globals/colors.css';
Expand Down

1 comment on commit 0f05228

@vercel
Copy link

@vercel vercel bot commented on 0f05228 Dec 18, 2019

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.