Skip to content

Commit fe19d75

Browse files
committed
Add text: 'Open in IDE' to the Phobos run.dlang.io buttons
1 parent 5720093 commit fe19d75

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
@@ -1615,6 +1615,9 @@ div.openInEditorButton {
16151615
margin-right: 0;
16161616
float: right;
16171617
}
1618+
div.openInEditorButton i{
1619+
padding-right: 5px;
1620+
}
16181621
.unittest_examples .d_example_buttons {
16191622
margin-top: 10px;
16201623
}

js/run_examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $(document).ready(function()
7373
+ '<div class="editButton"><i class="fa fa-edit" aria-hidden="true"></i> Edit</div>'
7474
+ '<div class="runButton"><i class="fa fa-play" aria-hidden="true"></i> Run</div>'
7575
+ '<div class="resetButton" style="display:none"><i class="fa fa-undo " aria-hidden="true"></i> Reset</div>'
76-
+ '<div class="openInEditorButton" title="Open in an external editor"><i class="fa fa-external-link" aria-hidden="true"></i></div>'
76+
+ '<div class="openInEditorButton" title="Open in an external editor"><i class="fa fa-external-link" aria-hidden="true"></i>Open in IDE</div>'
7777
+ '</div>'
7878
+ '<div class="d_code_output"><span class="d_code_title">Application output</span><br><pre class="d_code_output" readonly>Running...</pre>'
7979
+ '</div>'

0 commit comments

Comments
 (0)