Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Improve equation editor styles on mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
daviesian committed Jun 9, 2015
1 parent 12e2774 commit 3ebe8e3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/css/app.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions app/partials/content/QuestionTabs.html
Expand Up @@ -27,7 +27,7 @@ <h5>Please try again.</h5>
<div class='ru-answer-correct-wrap no-print' style="display:block;" ng-show="validationResponse.correct==true">
<div class='ru-answer-correct {{pageSubject}}'>
<div class='row'>
<div class="small-14 small-offset-1 medium-14 medium-offset-1 columns end text-center">
<div class="small-14 small-offset-1 columns end text-center">
<h1>Correct!</h1>
</div><!--
<div class='small-15 medium-9 columns'>
Expand Down Expand Up @@ -60,7 +60,7 @@ <h1>Correct!</h1>

<div class='ru-answer-check no-print' ng-show="validationResponse && (doc.type=='isaacAnvilQuestion' || doc.type=='isaacSymbolicQuestion')">
<div class='row'>
<div class="medium-14 medium-offset-1 columns text-center">
<div class="small-14 small-offset-1 columns text-center">
<div isaac-content doc="doc.answer"></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/partials/equation_editor/equation_editor.html
Expand Up @@ -29,7 +29,7 @@

<div ng-show="selectedSymbols.length" class="trash-button" ng-mousedown="trash()" ng-class="{active: trashActive}"></div>

<div class="question-reminder" ng-if="questionDoc"><div isaac-content doc="questionDoc"></div></div>
<div class="question-reminder show-for-large-up" ng-if="questionDoc"><div isaac-content doc="questionDoc"></div></div>

<div class="result-preview"><span></span></div>
<div class="hex-button submit" ng-click="submit()"></div>
Expand Down
3 changes: 3 additions & 0 deletions scss/_concept_problem.scss
Expand Up @@ -575,6 +575,9 @@
.ru-answer span {
display: block;
}
.ru-answer .katex span, .ru-answer .text-center span {
display: initial;
}
.ru-answer a,
.tabs.ru_tabs dd a {
padding: 6px !important;
Expand Down
1 change: 0 additions & 1 deletion scss/_equation_editor.scss
Expand Up @@ -5,7 +5,6 @@ $menu-handle-width: 160px;
background: url(/assets/equation_editor/bg.png);
background-position: -1px -1px;
border: 1px solid black;
min-height: 500px;
height:100%;
overflow: hidden;
position: relative;
Expand Down

0 comments on commit 3ebe8e3

Please sign in to comment.