Skip to content

Commit 8ac9405

Browse files
authored
Design/ml measure tool (#207)
1 parent f731f0f commit 8ac9405

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
111 KB
Loading

src/components/MlMeasureTool/MlMeasureTool.stories.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,16 +254,18 @@ const CatalogueSidebar: React.FC<CatalogueSidebarProps> = ({ openSidebar, setOpe
254254
<Paper
255255
sx={{
256256
position: 'fixed',
257-
top: '110px',
258-
right: '20px',
259-
backgroundColor: '#f6f6f6',
260-
border: '2px solid #000000',
257+
bottom: '8%',
258+
left: '50%',
259+
borderColor: theme.palette.mode === 'dark' ? '#313131' : '#f6f6f6',
261260
padding: '10px',
262261
zIndex: 101,
263-
elevation: 3,
264262
}}
265263
>
266-
<Typography variant="body1" align="center">
264+
<Typography
265+
variant="body1"
266+
align="center"
267+
sx={{ color: theme.palette.mode === 'dark' ? '#ffffff' : '#000000' }}
268+
>
267269
{getInstructionText()}
268270
</Typography>
269271
</Paper>

0 commit comments

Comments
 (0)