Skip to content

Commit eb429c0

Browse files
committed
Fix styling and code/view switch.
1 parent 1575298 commit eb429c0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

resources/public/css/style.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,14 +561,18 @@ button:active {
561561

562562
#instruct{
563563
font-weight: bold;
564-
padding-top: 25px;
564+
padding-top: 10px;
565565
float: left;
566566
}
567567

568568
.theme-holder {
569569
float: right;
570570
font-weight: bold;
571-
padding-top: 25px;
571+
padding-top: 10px;
572+
}
573+
574+
.margin-right {
575+
margin-right: 10px;
572576
}
573577

574578
#theme-selector {

resources/public/script/codebox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ var CodeBox = {
4747

4848
toggle: function() {
4949
if(this.disableJavascript)
50-
$("#code-box").toggle('fast');
50+
$(".codebox").toggle('fast');
5151
else
52-
$("#code-div").toggle('fast');
52+
$(".codebox").toggle('fast');
5353
},
5454

5555
submitProblem: function(e) {

resources/public/script/foreclojure.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ function changeToCodeView() {
195195
function configureGolf(){
196196
$('#graph-link').show();
197197
$('#golfgraph').hide();
198+
$('.theme-holder').addClass('margin-right');
198199
$('#graph-link').click(function() {
199200
CodeBox.toggle();
200201
$('#golfgraph').toggle('fast', function() {

0 commit comments

Comments
 (0)