From a2c5abf7eac8f666dc44172ec3d7575fb041f076 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Sun, 26 Oct 2014 04:35:45 -0400 Subject: [PATCH] Have thumbor display the post.img, center it. --- biomed-frontend/src/app/details.html | 4 ++-- biomed-frontend/src/styles/_biomed.scss | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/biomed-frontend/src/app/details.html b/biomed-frontend/src/app/details.html index adc6a42..679128e 100644 --- a/biomed-frontend/src/app/details.html +++ b/biomed-frontend/src/app/details.html @@ -1,12 +1,12 @@

{{post.title}}

-
+

{{post.preview}}

{{post.details}}

  • - +
diff --git a/biomed-frontend/src/styles/_biomed.scss b/biomed-frontend/src/styles/_biomed.scss index f9d6395..70e4547 100644 --- a/biomed-frontend/src/styles/_biomed.scss +++ b/biomed-frontend/src/styles/_biomed.scss @@ -14,6 +14,11 @@ display: table; margin: 0 auto; } +.mainimg { + display: block; + margin-left: auto; + margin-right: auto; +} .top-bar { height: 50px; }