From 222be7756acabfc5ad7a0025979c10f755a70e60 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Sat, 8 Oct 2016 00:00:20 +0200 Subject: [PATCH] fixed grid --- src/main/resources/assets/custom.css | 14 +++++++++++++- src/main/resources/templates/home.peb | 13 ++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/main/resources/assets/custom.css b/src/main/resources/assets/custom.css index 2727659..2509f32 100644 --- a/src/main/resources/assets/custom.css +++ b/src/main/resources/assets/custom.css @@ -3,7 +3,7 @@ body { } .thumb { - display: block; + display: block; background-size: contain; height: 200px; position: relative; @@ -19,10 +19,22 @@ body { -moz-background-size: contain; -o-background-size: contain; } + .thumb:hover { border: 1px solid #337ab7; } +.file-name { + cursor: pointer; +} + +.file-hide-name { + overflow: hidden; + display: inline-block; + text-overflow: ellipsis; + white-space: nowrap; + width: 100%; +} .rect { max-height: 270px; diff --git a/src/main/resources/templates/home.peb b/src/main/resources/templates/home.peb index 793b63c..e174be2 100644 --- a/src/main/resources/templates/home.peb +++ b/src/main/resources/templates/home.peb @@ -15,8 +15,7 @@