From b96d1b09d0f56ea18c8c9d2cb002f775f871a5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Wed, 17 Jun 2015 08:59:49 +0200 Subject: [PATCH] Fix big images on timeline at small withs --- app/modules/user-timeline/user-timeline/user-timeline.scss | 3 ++- app/styles/modules/home-project.scss | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/modules/user-timeline/user-timeline/user-timeline.scss b/app/modules/user-timeline/user-timeline/user-timeline.scss index fe83ff80..4f93fe7b 100644 --- a/app/modules/user-timeline/user-timeline/user-timeline.scss +++ b/app/modules/user-timeline/user-timeline/user-timeline.scss @@ -27,7 +27,8 @@ } img { max-height: 640px; - max-width: 100%; + max-width: 640px; + width: 100%; } .activity-info { align-items: center; diff --git a/app/styles/modules/home-project.scss b/app/styles/modules/home-project.scss index f8deabd5..3300ee9d 100644 --- a/app/styles/modules/home-project.scss +++ b/app/styles/modules/home-project.scss @@ -35,11 +35,13 @@ } .timeline { flex: 1; + flex-shrink: 3; margin-right: 1rem; + max-width: 800px; + width: 0; } .involved-data { flex-basis: 220px; - flex-shrink: 0; width: 220px; } .involved-team,