Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum top margin in tabbed examples #820

Merged
merged 5 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/puppeteer-tabbed-editor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe("Tabbed Editor", () => {
"<style>" +
".output{background-color:#fff;color:#15141aff;" +
"font-size:0.9rem;line-height:1.5;overflow:scroll;" +
"padding:1rem;height:100%;}" +
"padding:2rem 1rem 1rem;height:100%;}" +
"</style>" +
"<style>" +
"address { font-variant-caps: small-caps;}a { font-variant: normal;}" +
Expand Down
2 changes: 1 addition & 1 deletion editor/js/editor-libs/template-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @returns base style rules for the output class
*/
export function getOutputBaseStyle() {
return ".output{background-color:#fff;color:#15141aff;font-size:0.9rem;line-height:1.5;overflow:scroll;padding:1rem;height:100%;}";
return ".output{background-color:#fff;color:#15141aff;font-size:0.9rem;line-height:1.5;overflow:scroll;padding:2rem 1rem 1rem;height:100%;}";
}

/**
Expand Down
5 changes: 1 addition & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ export default {
},
},
optimization: {
minimizer: [
`...`,
new CssMinimizerPlugin(),
],
minimizer: [`...`, new CssMinimizerPlugin()],
splitChunks: {
chunks: "async",
},
Expand Down