Merge pull request #974 from getmaxun/auto-detect-ui
feat: auto detect pagination ui
This commit is contained in:
@@ -28,7 +28,7 @@ const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) =
|
|||||||
throw new Error("No workflow found");
|
throw new Error("No workflow found");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
).catch((error) => { console.log(`Failed to fetch workflow:`,error.message) })
|
).catch((error) => { console.log(`Failed to fetch workflow:`, error.message) })
|
||||||
};
|
};
|
||||||
|
|
||||||
interface RightSidePanelProps {
|
interface RightSidePanelProps {
|
||||||
@@ -920,14 +920,14 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
p: 2,
|
p: 2,
|
||||||
mb: 1,
|
mb: 1,
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
backgroundColor: isDarkMode ? '#1a3a1a' : '#e8f5e9',
|
color: '#1E2124',
|
||||||
border: `1px solid ${isDarkMode ? '#2e7d32' : '#4caf50'}`,
|
backgroundColor: isDarkMode ? '#f4f6f4' : '#f4f6f4',
|
||||||
|
border: `1px solid ${isDarkMode ? '#f4f6f4' : '#f4f6f4'}`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
variant="body2"
|
variant="body2"
|
||||||
sx={{
|
sx={{
|
||||||
color: isDarkMode ? '#81c784' : '#2e7d32',
|
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
mb: 0.5
|
mb: 0.5
|
||||||
}}
|
}}
|
||||||
@@ -943,7 +943,6 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
<Typography
|
<Typography
|
||||||
variant="caption"
|
variant="caption"
|
||||||
sx={{
|
sx={{
|
||||||
color: isDarkMode ? '#a5d6a7' : '#388e3c',
|
|
||||||
display: 'block',
|
display: 'block',
|
||||||
mb: 1
|
mb: 1
|
||||||
}}
|
}}
|
||||||
@@ -1008,11 +1007,11 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
color: isDarkMode ? '#81c784' : '#2e7d32',
|
color: '#ff00c3 !important',
|
||||||
borderColor: isDarkMode ? '#81c784' : '#2e7d32',
|
borderColor: '#ff00c3 !important',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
borderColor: isDarkMode ? '#a5d6a7' : '#4caf50',
|
borderColor: '#ff00c3 !important',
|
||||||
backgroundColor: isDarkMode ? '#1a3a1a' : '#f1f8f4',
|
backgroundColor: '#f4f6f4 !important',
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user