From 968b6e2be06f6d0d720a838428ca607ddd34e5ea Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 14 Feb 2013 15:33:15 +0100 Subject: [PATCH 1/1] simple fix for images in exercises --- catalogue/static/catalogue/css/exercise.css | 2 ++ catalogue/static/catalogue/css/exercise.scss | 4 ++++ 2 files changed, 6 insertions(+) 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; } -- 2.20.1