makes inline equations vertically aligned to the middle

fixes #8904

test plan:
* enter a formula into any rich content editor (like an assignment
  description or something)
* make sure it is vertically aligned to the center with normal text
  before and after saving

Change-Id: I056e6ca9fc24c3114777cd7bf654ca59c0270a57
Reviewed-on: https://gerrit.instructure.com/11875
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
This commit is contained in:
Sam Olds 2012-06-26 17:04:51 -06:00 committed by Bracken Mosbacker
parent eb2cda9b26
commit 07aaae33aa
2 changed files with 6 additions and 1 deletions

View File

@ -1433,8 +1433,11 @@ form.user_content_post_form
-moz-user-select: none
cursor: pointer
.equation_image
vertical-align: middle
.dashboard-toggle
display: block
padding: 10px 0 0
#breadcrumbs .dashboard-toggle
margin: 4px 0
margin: 4px 0

View File

@ -18,3 +18,5 @@ a.instructure_inline_media_comment
background: transparent url(/images/media_comment_embed.png) no-repeat top left
padding: 60px 5px 5px
.equation_image
vertical-align: middle