Skip to content

Commit

Permalink
Add margin to buttons on Moodle page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyingblu committed Apr 10, 2020
1 parent 37987e2 commit 61b2e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/moodle_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ chrome.storage.local.get(['link_btn_enabled'], function (results) {
var btn = document.createElement('button');
btn.setAttribute('id', 'MDX-' + id);
btn.innerText = 'Link';
btn.style = 'margin-right: 5px;';
btn.classList.add('btn');
btn.classList.add('btn-secondary');
dest_node.insertBefore(btn, dest_node.firstChild);
Expand Down

0 comments on commit 61b2e0e

Please sign in to comment.