Skip to content

Commit e997123

Browse files
committed
Add spacing between example text
1 parent 3fd3903 commit e997123

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
@@ -1743,6 +1743,9 @@ div.openInEditorButton {
17431743
margin-right: 0;
17441744
float: right;
17451745
}
1746+
.unittest_examples .d_example_buttons {
1747+
margin-top: 10px;
1748+
}
17461749

17471750
/* Style for the example run buttons on the Phobos library documentation */
17481751
.d_example_buttons {

js/run_examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $(document).ready(function()
7070
return;
7171

7272
currentExample.replaceWith(
73-
'<div>'
73+
'<div class="unittest_examples">'
7474
+ '<div class="d_example_buttons">'
7575
+ '<div class="editButton"><i class="fa fa-edit" aria-hidden="true"></i> Edit</div>'
7676
+ '<div class="runButton"><i class="fa fa-play" aria-hidden="true"></i> Run</div>'

0 commit comments

Comments
 (0)