mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix padding in codepen examples
This commit is contained in:
@@ -22,7 +22,7 @@ document.addEventListener('click', event => {
|
||||
`<link rel="stylesheet" href="${cdnUrl}styles/webawesome.css">\n` +
|
||||
`<link rel="stylesheet" href="${cdnUrl}styles/utilities.css">\n\n` +
|
||||
`${code.textContent}`;
|
||||
const css = 'html > body {\n font: 16px sans-serif;\n padding: 2rem;\n}';
|
||||
const css = 'html > body {\n padding: 2rem !important;\n}';
|
||||
const js = '';
|
||||
|
||||
const form = document.createElement('form');
|
||||
|
||||
@@ -254,7 +254,7 @@ export default class WaCodeDemo extends WebAwesomeElement {
|
||||
*/
|
||||
public edit() {
|
||||
const markup = this.getDemoHTML({ isolated: true, absolutize: true, prettyWhitespace: true });
|
||||
const css = 'body {\n font: 16px sans-serif;\n padding: 2rem;\n}';
|
||||
const css = 'body {\n padding: 2rem !important;\n}';
|
||||
const js = '';
|
||||
|
||||
const form = Object.assign(document.createElement('form'), {
|
||||
|
||||
Reference in New Issue
Block a user