From 553613611cf33ccb41d1e747337ffffdd6f7b6ee Mon Sep 17 00:00:00 2001 From: Raghav Jajodia Date: Thu, 8 Jun 2017 00:09:24 +0530 Subject: [PATCH] Improve styling of activity strip, fix overflow bug --- website/static/css/style.css | 4 +++- website/templates/_activity.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/website/static/css/style.css b/website/static/css/style.css index fddb0a8ee3..80bf36d2a3 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -252,8 +252,10 @@ a:hover{ text-decoration: none; } .activity-strip-section > div > .small { - font-size: initial; + font-size: 14px; font-weight: initial; + position: absolute; + top: 80px; } .activity-screenshot { float:right; diff --git a/website/templates/_activity.html b/website/templates/_activity.html index 9a797827ba..1d055086f9 100644 --- a/website/templates/_activity.html +++ b/website/templates/_activity.html @@ -24,7 +24,7 @@ - {{ activity.target }} + {{ activity.target|truncatechars:100 }} {% else %} - {{ activity.target }} {% endif %}