From 4abf35139117167c9ad4a66266e343d505913233 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 18 Nov 2013 00:23:14 +0100 Subject: [PATCH] Trying to added ellipsis for texts that are too high to fit --- app/assets/stylesheets/my.css.scss | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/my.css.scss b/app/assets/stylesheets/my.css.scss index ba5323e..9b4d3d3 100644 --- a/app/assets/stylesheets/my.css.scss +++ b/app/assets/stylesheets/my.css.scss @@ -51,4 +51,28 @@ ul.pagination li a .navbar { margin-bottom: 10px; -} \ No newline at end of file +} + +/* Make sure that the description of a package does not flow outside of the thumbnail box */ +.thumbnail +{ + overflow: hidden; +} + +.pkgdescr +{ + text-overflow: ellipsis; +} + + +a.fancybox.thumbnail +{ + border: none; +} + + +/* Disable resonsiveness in Twitter Bootstrap CSS */ +.container +{ + width: 1200px !important; +}