From 19fcc3b06c7f5b5f6d277fe4688fa10ea80f2419 Mon Sep 17 00:00:00 2001 From: Raghav Jajodia Date: Fri, 9 Jun 2017 15:54:44 +0530 Subject: [PATCH] Fix _activity overflow --- website/static/css/style.css | 17 +---------------- website/templates/_activity.html | 9 +++++++-- website/templates/profile.html | 22 ++++++++-------------- 3 files changed, 16 insertions(+), 32 deletions(-) diff --git a/website/static/css/style.css b/website/static/css/style.css index 3a8d16bbc0..fe8553d1c4 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -247,7 +247,7 @@ a:hover{ } .activity-strip-section > div { margin-left: 20px; - font-size: 20px; + font-size: 16px; font-weight: bold; } .activity-strip-section > div a { @@ -431,31 +431,16 @@ input[type='file'] { font-size: 14px; line-height: 20px; } - .panel-heading .image_container{ background-color: transparent; } - .issue_count{ color: #fff; } -.issue_status{ - display: block; - - color: #dd4252; -} - -.activity-strip-section > div > .small{ - position:relative; - top:0; -} - - .issue_count a{ color: #fff; text-decoration: none; } - .issue_count a:hover{ color: #dd4252; } \ No newline at end of file diff --git a/website/templates/_activity.html b/website/templates/_activity.html index 1c3621b655..e6db88a0e5 100644 --- a/website/templates/_activity.html +++ b/website/templates/_activity.html @@ -24,10 +24,15 @@ - {{ activity.target|truncatechars:100 }}{{activity.target.status}} + {{ activity.target|truncatechars:100 }} {% else %} - - {{ activity.target }}{{activity.target.status}} + - {{ activity.target }} {% endif %} + {% if activity.target.status == "open" %} + {{activity.target.status}} + {% else %} + {{activity.target.status}} + {% endif %} {% endif %}
diff --git a/website/templates/profile.html b/website/templates/profile.html index 9075bb473c..e027d13001 100644 --- a/website/templates/profile.html +++ b/website/templates/profile.html @@ -12,18 +12,16 @@

{{ user.username }}

{% if request.user == user %} - - +
{% csrf_token %} - - - -   - - -

- +
+ + + +

+
{% endif %} @@ -82,9 +80,5 @@

{{ my_score|default:0 }} Points

- - {% endblock %} \ No newline at end of file