Skip to content

Commit

Permalink
fixed #65, responsive images without links
Browse files Browse the repository at this point in the history
  • Loading branch information
sftsk committed Mar 11, 2015
1 parent 67fca91 commit 1226e16
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slippry",
"version": "1.2.8",
"version": "1.2.9",
"homepage": "http://slippry.com",
"authors": [
"Lukas Jakob Hafner - @saftsaak",
Expand Down
8 changes: 7 additions & 1 deletion dist/slippry.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*
* slippry v1.2.8 - Responsive content slider for jQuery
* slippry v1.2.9 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
Expand Down Expand Up @@ -178,6 +178,12 @@
animation-fill-mode: forwards; }
.sy-slide.sy-active {
z-index: 3; }
.sy-slide > img {
margin: 0;
padding: 0;
display: block;
width: 100%;
border: 0; }
.sy-slide > a {
margin: 0;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/slippry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/slippry.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @preserve
*
* slippry v1.2.8 - Responsive content slider for jQuery
* slippry v1.2.9 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
Expand Down
13 changes: 10 additions & 3 deletions src/slippry.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*
* slippry v1.2.8 - Responsive content slider for jQuery
* slippry v1.2.9 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
Expand Down Expand Up @@ -134,12 +134,19 @@ $arrows_url: '/images/arrows.svg' !default;
&.sy-active {
z-index: 3;
}
>a { // styling for link on whole slide
> img { // with one image as content -> full size
margin: 0;
padding: 0;
display: block;
width: 100%;
>img { // with one image as content -> full size
border: 0;
}
> a { // styling for link on whole slide
margin: 0;
padding: 0;
display: block;
width: 100%;
> img { // with one image as content -> full size
margin: 0;
padding: 0;
display: block;
Expand Down

0 comments on commit 1226e16

Please sign in to comment.