-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): re-add dataset customization
- Loading branch information
1 parent
64e5578
commit 9b385f2
Showing
8 changed files
with
83 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
packages_rs/nextclade-web/src/components/Main/DatasetContentTabAdvanced.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from 'react' | ||
import styled from 'styled-components' | ||
import { FilePickerAdvanced } from 'src/components/FilePicker/FilePickerAdvanced' | ||
import AdvancedModeExplanationContent from 'src/components/Main/AdvancedModeExplanation.mdx' | ||
|
||
export function DatasetContentTabAdvanced() { | ||
return ( | ||
<Container> | ||
<Header> | ||
<AdvancedModeExplanationWrapper> | ||
<AdvancedModeExplanationContent /> | ||
</AdvancedModeExplanationWrapper> | ||
</Header> | ||
|
||
<Main> | ||
<FilePickerAdvanced /> | ||
</Main> | ||
</Container> | ||
) | ||
} | ||
|
||
export const AdvancedModeExplanationWrapper = styled.div` | ||
> p { | ||
margin: 0; | ||
} | ||
` | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
flex: 1; | ||
flex-direction: column; | ||
overflow: hidden; | ||
` | ||
|
||
const Header = styled.div` | ||
flex: 0; | ||
` | ||
|
||
const Main = styled.div` | ||
display: flex; | ||
flex: 1; | ||
flex-direction: column; | ||
overflow: auto; | ||
width: 100%; | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters