From: Radek Czajka Date: Thu, 14 Feb 2013 14:33:15 +0000 (+0100) Subject: simple fix for images in exercises X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/968b6e2be06f6d0d720a838428ca607ddd34e5ea?ds=inline simple fix for images in exercises --- diff --git a/catalogue/static/catalogue/css/exercise.css b/catalogue/static/catalogue/css/exercise.css index 05b005f..c72a109 100644 --- a/catalogue/static/catalogue/css/exercise.css +++ b/catalogue/static/catalogue/css/exercise.css @@ -1,4 +1,6 @@ @charset "UTF-8"; +.exercise img { + vertical-align: top; } .exercise .question-piece { border-radius: 0.688em; padding: 0.5em 0.688em; } diff --git a/catalogue/static/catalogue/css/exercise.scss b/catalogue/static/catalogue/css/exercise.scss index cd87f12..99ef5d6 100755 --- a/catalogue/static/catalogue/css/exercise.scss +++ b/catalogue/static/catalogue/css/exercise.scss @@ -42,6 +42,10 @@ $px: 0.0625em; .exercise { + img { + vertical-align: top; + } + .question-piece { @include bubble; }