Alignment and quotes
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -71,7 +71,6 @@ button.btn {
|
||||
}
|
||||
|
||||
&.codepen-btn {
|
||||
margin: 0.5rem auto;
|
||||
display: block;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,8 +18,8 @@ snippets.forEach(snippet => {
|
||||
var data = {
|
||||
css : css.textContent,
|
||||
title: snippet.querySelector('h3 > span').textContent,
|
||||
html: html ? html.textContent.replace(/"/g, "'") : '',
|
||||
js: js ? js.textContent.replace(/"/g, "'") : ''
|
||||
html: html ? html.textContent : '',
|
||||
js: js ? js.textContent : ''
|
||||
}
|
||||
codepenInput.value = JSON.stringify(data);
|
||||
codepenForm.appendChild(codepenInput);
|
||||
|
||||
Reference in New Issue
Block a user