Skip to content

Commit

Permalink
Small js fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Oct 26, 2024
1 parent 1a790bd commit 554fbfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/ttveditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@
var previewButton = document.createElement('button');
previewButton.textContent = 'Preview';
previewButton.type = 'button';
previewButton.className = 'button button-secondary';
previewButton.style.marginTop = '10px';
previewButton.className = 'generate-preview-button button-secondary';
previewButton.style.marginTop = '1rem';

// Append the button after the textarea
textArea.parentNode.appendChild(previewButton);
Expand Down

0 comments on commit 554fbfe

Please sign in to comment.