Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css } from 'styled-components';

export const Block = styled.div`
export const Block = styled.div<{ right?: boolean }>`
background-color: ${props => props.theme.background2};
color: rgba(255, 255, 255, 0.9);
padding: 1rem 1.5rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const MoveSandboxFolderModal = () => {
return (
<div>
<Block>Move to Folder</Block>
<Container css={{ maxHeight: 400, overflow: 'auto' }}>
<Container style={{ maxHeight: 400, overflow: 'auto' }}>
<DirectoryPicker
onSelect={onSelect}
currentTeamId={teamId}
Expand All @@ -72,7 +72,7 @@ const MoveSandboxFolderModal = () => {

<Button
onClick={handleMove}
css={{ display: 'inline-flex', alignItems: 'center' }}
style={{ display: 'inline-flex', alignItems: 'center' }}
small
disabled={loading}
>
Expand All @@ -85,7 +85,7 @@ const MoveSandboxFolderModal = () => {
? basename(path)
: `${teamId ? 'Our' : 'My'} Sandboxes`}
<ChevronRight
css={{ marginRight: '-.25rem', marginLeft: '.25rem' }}
style={{ marginRight: '-.25rem', marginLeft: '.25rem' }}
/>
</>
)}
Expand All @@ -95,4 +95,5 @@ const MoveSandboxFolderModal = () => {
);
};

// eslint-disable-next-line import/no-default-export
export default MoveSandboxFolderModal;