Skip to content

Commit

Permalink
Apply automatic formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalita-lbl committed Apr 12, 2023
1 parent 249a826 commit a37f3c3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
5 changes: 4 additions & 1 deletion lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ class DataHarmonizer {
this.self = this;

// Use help sidebar by default unless turned off by client
if (options.includeHelpSidebar === undefined || options.includeHelpSidebar) {
if (
options.includeHelpSidebar === undefined ||
options.includeHelpSidebar
) {
this.helpSidebar = new HelpSidebar(this.root, {
onToggle: () => this.hot.render(),
});
Expand Down
42 changes: 21 additions & 21 deletions lib/HelpSidebar.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
.help-sidebar {
position: absolute;
top: 0;
bottom: 0;
background-color: white;
transition-property: right;
transition-timing-function: ease;
border-left: 1px solid #ddd;
position: absolute;
top: 0;
bottom: 0;
background-color: white;
transition-property: right;
transition-timing-function: ease;
border-left: 1px solid #ddd;
}

.help-sidebar__toggler {
position: absolute;
top: 0;
transform: translateX(-100%);
z-index: 200;
border: 1px solid #ddd;
border-right-width: 0;
background-color: white;
position: absolute;
top: 0;
transform: translateX(-100%);
z-index: 200;
border: 1px solid #ddd;
border-right-width: 0;
background-color: white;
}

.help-sidebar__content {
height: 100%;
overflow-x: hidden;
overflow-y: auto;
margin: 8px
height: 100%;
overflow-x: hidden;
overflow-y: auto;
margin: 8px;
}

.help-sidebar__placeholder {
color: #808080;
font-style: italic;
}
color: #808080;
font-style: italic;
}
2 changes: 1 addition & 1 deletion lib/HelpSidebar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery';
import './HelpSidebar.css'
import './HelpSidebar.css';

const DEFAULT_OPTIONS = {
width: 300,
Expand Down

0 comments on commit a37f3c3

Please sign in to comment.