Skip to content

Commit

Permalink
#6214 fix margins
Browse files Browse the repository at this point in the history
  • Loading branch information
piorek committed Feb 8, 2018
1 parent bfd31ea commit 2b3d188
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/notebook/src/extension/UIOptionsHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function setupWideCells(wideCells: boolean): void {
}

let s = document.createElement('style');
s.innerText = `#notebook_panel .container { width:auto; margin: 15px; }`;
s.innerText = `#notebook_panel .container { width:auto; margin: 0 16px; }`;

document.body.appendChild(s);
}
Expand Down
5 changes: 5 additions & 0 deletions js/notebook/src/tree/Widgets/UIOptions/UIOptionsWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export class UIOptionsWidget extends Widget implements UIOptionsWidgetInterface
public readonly SHOW_PUBLICATION_SELECTOR = '#show_publication';

public readonly HTML_ELEMENT_TEMPLATE = `
<style>
#ui_options {
margin: 0 16px;
}
</style>
<fieldset id="ui_options">
<legend>UI Options:</legend>
<div class="form-group">
Expand Down

0 comments on commit 2b3d188

Please sign in to comment.