Skip to content

Commit

Permalink
Fix brew styles overwriting each other. (#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
calculuschild authored Feb 5, 2021
1 parent 2fe3533 commit c642a35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 155 deletions.
2 changes: 1 addition & 1 deletion client/homebrew/brewRenderer/brewRenderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const BrewRenderer = createClass({
: null}

<Frame initialContent={this.state.initialContent} style={{ width: '100%', height: '100%', visibility: this.state.visibility }} contentDidMount={this.frameDidMount}>
<div className={cx('brewRenderer', this.state.renderer)}
<div className={'brewRenderer'}
onScroll={this.handleScroll}
style={{ height: this.state.height }}>

Expand Down
4 changes: 2 additions & 2 deletions client/homebrew/brewRenderer/brewRenderer.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import (multiple, less) 'shared/naturalcrit/styles/reset.less';
@import (multiple, less) './client/homebrew/phbStyle/phb.styleLegacy.less';
@import (multiple, less) './client/homebrew/phbStyle/phb.style.less';
& {@import (multiple, less) './client/homebrew/phbStyle/phb.styleLegacy.less';} //&{} keeps internal variables locally-scoped
& {@import (multiple, less) './client/homebrew/phbStyle/phb.style.less';}

.brewRenderer{
will-change : transform;
Expand Down
152 changes: 0 additions & 152 deletions client/homebrew/brewRenderer/brewRendererLegacy.jsx

This file was deleted.

0 comments on commit c642a35

Please sign in to comment.