Skip to content

Commit

Permalink
fix: correct style of molecule editor modal and ranges header outside…
Browse files Browse the repository at this point in the history
… of Vite

Add missing jsxImportSource directive
Replace css with style prop/style
  • Loading branch information
targos committed Jun 26, 2021
1 parent 427fb96 commit 7fa7775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/component/modal/MoleculeStructureEditorModal.jsx
@@ -1,3 +1,4 @@
/** @jsxImportSource @emotion/react */
import { useState, useEffect, useCallback } from 'react';
import { StructureEditor } from 'react-ocl/full';

Expand Down
2 changes: 1 addition & 1 deletion src/component/panels/RangesPanel/RangesHeader.jsx
Expand Up @@ -204,7 +204,7 @@ function RangesHeader({
popupPlacement="right"
>
<button
css={styles.button}
style={styles.button}
type="button"
onClick={showChangeRangesSumModal}
>
Expand Down

0 comments on commit 7fa7775

Please sign in to comment.