Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.7 #536

Merged
merged 5 commits into from
Nov 25, 2018
Merged

0.5.7 #536

merged 5 commits into from
Nov 25, 2018

Conversation

picturepan2
Copy link
Owner

@picturepan2 picturepan2 self-assigned this Nov 25, 2018

@for $s from 1 through ($image-number) {
.viewer-slider[value='#{$s}'] + .viewer-image {
background-position-y: percentage((($s)-1) * 1/(($image-number)-1));

Choose a reason for hiding this comment

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

$image-number)-1 should be written with a single space on each side of the operator: $image-number) - 1
$s)-1) * 1/(($image-number)-1) should be written with a single space on each side of the operator: $s)-1) * 1 /(( $image-number)-1
$s)-1 should be written with a single space on each side of the operator: $s) - 1

display: flex;
flex-direction: column;
align-items: center;

Choose a reason for hiding this comment

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

Line contains trailing whitespace

$image-width: 24rem;

.viewer-360 {
display: flex;

Choose a reason for hiding this comment

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

Properties should be ordered align-items, display, flex-direction

@@ -0,0 +1,33 @@
// 360 Degree Viewer
// The number of images

Choose a reason for hiding this comment

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

Line contains trailing whitespace

color: $gray-color-light;

@for $i from 1 through ($carousel-number) {
&:nth-of-type(#{$i}):checked ~ .carousel-nav .nav-item:nth-of-type(#{$i}) {

Choose a reason for hiding this comment

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

Selector should have depth of applicability no greater than 2, but was 3

opacity: 1;
z-index: $zindex-1;
@for $i from 1 through ($carousel-number) {
&:nth-of-type(#{$i}):checked ~ .carousel-container .carousel-item:nth-of-type(#{$i}) {

Choose a reason for hiding this comment

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

Selector should have depth of applicability no greater than 2, but was 3

z-index: $zindex-1;
}

%carousel-nav-checked {

Choose a reason for hiding this comment

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

Line contains trailing whitespace

// The number of carousel images
$carousel-number: 8;

%carousel-image-checked {

Choose a reason for hiding this comment

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

Line contains trailing whitespace

@picturepan2 picturepan2 merged commit b27f43a into master Nov 25, 2018
@picturepan2 picturepan2 deleted the 0.5.7 branch November 25, 2018 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants