some minor fixes

This commit is contained in:
nek0 2015-01-11 17:06:43 +01:00
parent 0357e5dd91
commit 23ceabc253
2 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@ adminAlbumSettingsForm album albumId users = renderDivs $ Album
<*> areq (userField users) "This album shared with" (Just $ albumShares album) <*> areq (userField users) "This album shared with" (Just $ albumShares album)
<*> pure (albumContent album) <*> pure (albumContent album)
<*> aopt (selectField media) "Sample picture" (Just $ albumSamplePic album) <*> aopt (selectField media) "Sample picture" (Just $ albumSamplePic album)
<*> pure 220 <*> pure 230
where where
media = do media = do
entities <- runDB $ selectList [MediumAlbum ==. albumId] [Asc MediumTitle] entities <- runDB $ selectList [MediumAlbum ==. albumId] [Asc MediumTitle]

View file

@ -36,7 +36,7 @@ var parallelism = (function($) { var _ = {
introSpeed: 750, introSpeed: 750,
// Height (in px) of items. // Height (in px) of items.
itemHeight: 230, itemHeight: 240,
// Default width (in px) of width. // Default width (in px) of width.
itemWidth: 300, itemWidth: 300,
@ -48,10 +48,10 @@ var parallelism = (function($) { var _ = {
marginTop: 0, marginTop: 0,
// Nudge the reel by this value (in px) after it's been vertically centered. // Nudge the reel by this value (in px) after it's been vertically centered.
verticalNudge: -50, verticalNudge: 60,
// Maximum number of rows. // Maximum number of rows.
maxRows: 3, maxRows: 5,
// Minimum number of rows. // Minimum number of rows.
minRows: 1, minRows: 1,
@ -571,8 +571,8 @@ var parallelism = (function($) { var _ = {
reset: 'full', reset: 'full',
prefix: '/static/css/style', prefix: '/static/css/style',
breakpoints: { breakpoints: {
global: { range: '*', containers: '100%', grid: {gutters: 5} }, global: { range: '*', containers: 1200, grid: {gutters: 5} },
desktop: { range: '641-', containers: '100%', grid: {gutters: 5}, viewport: { width: 1280, scalable: false } }, desktop: { range: '641-', containers: 600, grid: {gutters: 5}, viewport: { width: 1280, scalable: false } },
mobile: { range: '-640', containers: '100%', grid: {gutters: 5}, viewport: { scalable: false } } mobile: { range: '-640', containers: '100%', grid: {gutters: 5}, viewport: { scalable: false } }
} }
}); });