Skip to content

Commit

Permalink
fix(StoriesCarousel): adjust size of buttons, add in space for testim…
Browse files Browse the repository at this point in the history
…onial name
  • Loading branch information
mrfantasticwonders committed Oct 5, 2017
1 parent d354cb2 commit e6dc70f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "employer-style-base",
"version": "2.3.0",
"version": "2.3.1",
"author": "[email protected]",
"license": "Apache-2.0",
"description": "A stack-agnostic Sass library providing basic components and typography intended for the Employer experience",
Expand Down
35 changes: 10 additions & 25 deletions sass/directives/03_components/montage/_montage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ $_montage_tablet_bp: 1145px;
@media only screen and (min-width: $_montage_mobile_bp) {
display: inline;
}

&:first-of-type {
margin-right: $base-spacing-smallest;
}
}
}

Expand Down Expand Up @@ -475,37 +479,18 @@ $_montage_tablet_bp: 1145px;
.montage__carousel-dots {
background-color: $_montage_cell_blue;
text-align: center;
padding-bottom: $base-spacing-small;

li {
display: inline-block;
list-style-type: none;
margin-right: $base-spacing-small;
margin-bottom: $base-spacing-small * 2;
margin-top: $base-spacing-small * 2;

&:last-of-type {
margin-right: 0;
}
@include carousel-dots;

button {
font-size: 0;
background-color: transparent;
border: none;

&:before {
color: $grey-light;
font-family: FontAwesome;
font-weight: $font-weight-regular;
font-size: $font-size-smallest;
content: "\f111";
}
}
button {
background-color: $grey-light;
}

.slick-active {
button {
&:before {
color: white;
}
background-color: white;
}
}
}
Expand Down

0 comments on commit e6dc70f

Please sign in to comment.