pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/fgallery: fix scrolling on large overviews



Module Name:	pkgsrc-wip
Committed By:	ast <ast%NetBSD.org@localhost>
Pushed By:	ast
Date:		Sun Oct 30 10:28:38 2016 +0100
Changeset:	8498515b7cacbf54b92fd21e56ec0ebd5bd7af3f

Modified Files:
	fgallery/distinfo
	fgallery/files/overview.css
	fgallery/patches/patch-view_index.css

Log Message:
wip/fgallery: fix scrolling on large overviews

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8498515b7cacbf54b92fd21e56ec0ebd5bd7af3f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 fgallery/distinfo                     | 2 +-
 fgallery/files/overview.css           | 4 ++--
 fgallery/patches/patch-view_index.css | 8 ++++++--
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs:
diff --git a/fgallery/distinfo b/fgallery/distinfo
index 5b75779..4c91191 100644
--- a/fgallery/distinfo
+++ b/fgallery/distinfo
@@ -5,6 +5,6 @@ RMD160 (fgallery-1.8.2.zip) = 959854b675a813379e78d8e66022dd2f56e30561
 SHA512 (fgallery-1.8.2.zip) = 1e782b86c74b7cafbb61e46f346b2e42dab9cc3133cf8cedef827f916b5eb29316d86a52020305b56a42fa9d6555423b9d5a175dac4446a0f7f5d538beb9311f
 Size (fgallery-1.8.2.zip) = 158562 bytes
 SHA1 (patch-fgallery) = 58d3b0eacff0c61f3236ff16bc56084719abf1b8
-SHA1 (patch-view_index.css) = e30afdc2f5706b2a44efc325b1777dd3571aa1de
+SHA1 (patch-view_index.css) = 562587d10dc72d8a22a9577cba9cc63fa9473c86
 SHA1 (patch-view_index.html) = 1e62672675b873d547eb11a1f48bf4af582869c6
 SHA1 (patch-view_index.js) = fb0a55b13d2e9db1170d576dfb28753da7608b5e
diff --git a/fgallery/files/overview.css b/fgallery/files/overview.css
index 77d55e4..c4eff14 100644
--- a/fgallery/files/overview.css
+++ b/fgallery/files/overview.css
@@ -1,4 +1,4 @@
-/* General reset */
+/* General reset of index.css */
 html, body
 {
   overflow: hidden; /* IE<9 */
@@ -10,6 +10,7 @@ html, body
 
 body
 {
+  overflow: scroll;
   background-color: #eee;
 }
 
@@ -51,4 +52,3 @@ body
 .overview-img-div:hover img {
   opacity: 0.7;
 }
-
diff --git a/fgallery/patches/patch-view_index.css b/fgallery/patches/patch-view_index.css
index d6bb711..1dc23ad 100644
--- a/fgallery/patches/patch-view_index.css
+++ b/fgallery/patches/patch-view_index.css
@@ -5,7 +5,11 @@ Make the (optional) download/date text slightly less conspicuous
 
 --- view/index.css.orig	2016-01-11 19:17:15.000000000 +0000
 +++ view/index.css
-@@ -5,6 +5,7 @@ html, body
+@@ -1,10 +1,10 @@
+-/* General reset */
+ html, body
+ {
+   overflow: hidden; /* IE<9 */
    padding: 0;
    margin: 0;
    border: 0;
@@ -13,7 +17,7 @@ Make the (optional) download/date text slightly less conspicuous
  }
  
  img
-@@ -110,6 +111,7 @@ img
+@@ -110,6 +110,7 @@ img
    background: #111; /* IE<9 */
    background: rgba(0, 0, 0, 0.7);
    font-family: sans-serif;


Home | Main Index | Thread Index | Old Index