From 43ed6dde468c89f24e4dfe6b0ebe400815a1563f Mon Sep 17 00:00:00 2001 From: Dennis Collinson Date: Mon, 23 Apr 2012 18:19:34 -0700 Subject: [PATCH] fix width for markdown images [ci skip] --- app/assets/stylesheets/new_styles/_canvas.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_canvas.scss b/app/assets/stylesheets/new_styles/_canvas.scss index 550510a1a..bf7abfa68 100644 --- a/app/assets/stylesheets/new_styles/_canvas.scss +++ b/app/assets/stylesheets/new_styles/_canvas.scss @@ -141,6 +141,7 @@ body { .text-content { @include opacity(0.65); + position : relative; z-index : 10; color : #000; @@ -149,6 +150,10 @@ body { font-weight : bold; font-size : 1.5em; line-height : 1.2em; + + img { + max-width: 100%; + } } &.sticky-note { @@ -234,8 +239,6 @@ body { @include opacity(1); text-shadow : none; font-weight: bold; - - } } }