Skip to content
This repository has been archived by the owner on Aug 21, 2021. It is now read-only.

Commit

Permalink
Fixed height caused flicker
Browse files Browse the repository at this point in the history
In Chrome on a TYPO3 website (with jQuery using noConflict()) the thumbnails flicker when I hover over them.

Also improve on responsivness.

Fix #1
  • Loading branch information
PowerKiKi committed Jul 15, 2015
1 parent 53412cf commit d2bcaee
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions res/css/jd.gallery.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.tx-rgsmoothgallery-pi1 {
background:#000 url(img/loading-bar-black.gif) center center no-repeat;
background:#000 url(img/loading-bar-black.gif) center center no-repeat;
width:100% !important;
}
#myGallery, #myGallerySet, #flickrGallery
{
Expand All @@ -14,6 +15,10 @@
outline:0;
}

.jdGallery .slideElement {
background-size: contain;
}

#flickrGallery
{
width: 500px;
Expand All @@ -29,6 +34,7 @@
{
overflow: hidden;
position: relative;
width:100% !important;
}

.jdGallery img
Expand Down Expand Up @@ -148,7 +154,6 @@
{
position: absolute;
width: 100%;
height: 78px;
top: 10px;
left: 0;
overflow: hidden;
Expand Down Expand Up @@ -371,4 +376,4 @@
font-size: 12px;
font-weight: normal;
color: #aaa;
}
}

0 comments on commit d2bcaee

Please sign in to comment.