Skip to content

Commit b554ea4

Browse files
committed
Move 'Open in editor' button to the right
1 parent 98ec5c1 commit b554ea4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

css/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,9 @@ input.resetButton{display: none}
17391739
display: inline-block;
17401740
text-decoration: none;
17411741
}
1742+
.openInEditorButton {
1743+
float: right;
1744+
}
17421745

17431746
/* Style for the example run buttons on the Phobos library documentation */
17441747
.d_example_buttons {

js/run_examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ $(document).ready(function()
7373
'<div>'
7474
+ '<div class="d_example_buttons">'
7575
+ '<div class="editButton"><i class="fa fa-edit" aria-hidden="true"></i> Edit</div>'
76-
+ '<div class="openInEditorButton"><i class="fa fa-external-link" aria-hidden="true"></i> Edit (external)</div>'
7776
+ '<div class="runButton"><i class="fa fa-play" aria-hidden="true"></i> Run</div>'
7877
+ '<div class="resetButton"><i class="fa fa-undo " aria-hidden="true"></i> Reset</div>'
78+
+ '<div class="openInEditorButton"><i class="fa fa-external-link" aria-hidden="true"></i></div>'
7979
+ '</div>'
8080
+ '<div class="d_code">'
8181
+ '<pre class="d_code">'+orig+'</pre>'

0 commit comments

Comments
 (0)