From da3be45c8f6a25780ddbd4993085ceac6bfb1ec6 Mon Sep 17 00:00:00 2001 From: Athou Date: Fri, 29 Mar 2013 09:58:04 +0100 Subject: [PATCH] clip entry name --- src/main/webapp/css/app.css | 21 +++++++++++++++++++-- src/main/webapp/templates/feeds.html | 3 ++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/css/app.css b/src/main/webapp/css/app.css index a0d0e58e..c2317c40 100644 --- a/src/main/webapp/css/app.css +++ b/src/main/webapp/css/app.css @@ -79,18 +79,35 @@ } #feed-accordion .entry-heading { + height: 20px; padding: 6px 0px; display: block; color: black; cursor: pointer; + padding: 6px 0px; } #feed-accordion .entry-heading .feed-name { color: #555; - width: 150px; - display: inline-block; + display: block; overflow: hidden; white-space: nowrap; + position: absolute; +} + +#feed-accordion .entry-heading .entry-name { + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + margin-left: 150px; + margin-right: 100px; +} + +#feed-accordion .entry-heading .entry-date { + display: block; + position: absolute; + right: 20px; } #feed-accordion a.entry-heading:hover { diff --git a/src/main/webapp/templates/feeds.html b/src/main/webapp/templates/feeds.html index e39ef5ff..9f82b3be 100644 --- a/src/main/webapp/templates/feeds.html +++ b/src/main/webapp/templates/feeds.html @@ -9,8 +9,9 @@ {{entry.feedName}} + - {{entry.date}} +