From 2277d0d09cc5a5b62d0d737940e8ec620674763d Mon Sep 17 00:00:00 2001 From: Roboneet Date: Wed, 7 Jun 2017 16:12:12 +0530 Subject: [PATCH 1/2] fixed issue 208 --- website/static/css/activity.css | 28 ++++++++++++++++++++++++++++ website/templates/base.html | 1 + 2 files changed, 29 insertions(+) create mode 100644 website/static/css/activity.css diff --git a/website/static/css/activity.css b/website/static/css/activity.css new file mode 100644 index 000000000..40d2d20f4 --- /dev/null +++ b/website/static/css/activity.css @@ -0,0 +1,28 @@ +.activity-strip-section >img{ + width: auto; + height: 100px; + } + +.activity-screenshot img{ + height:auto; +} + + + +@media only screen and (max-width: 450px){ + + + .activity-strip .activity-strip-section{ + width: 95%; + height: auto; + + + } + + .activity-strip{ + overflow:auto; + } + .activity-screenshot{ + display: none; + } +} \ No newline at end of file diff --git a/website/templates/base.html b/website/templates/base.html index 17716ea20..0dd7c29f0 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -22,6 +22,7 @@ + From 4e8a375fb957b26436e67ea7e1f24d11d43a3595 Mon Sep 17 00:00:00 2001 From: Roboneet Date: Wed, 7 Jun 2017 16:21:57 +0530 Subject: [PATCH 2/2] another fix --- website/static/css/activity.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/css/activity.css b/website/static/css/activity.css index 40d2d20f4..a271726cf 100644 --- a/website/static/css/activity.css +++ b/website/static/css/activity.css @@ -20,7 +20,7 @@ } .activity-strip{ - overflow:auto; + height:auto; } .activity-screenshot{ display: none;