fix(style): downloading popover
This commit is contained in:
@@ -40,7 +40,12 @@ export default function useChartConfig() {
|
||||
tickLineColor: token.colorSplit,
|
||||
axislabelColor: token.colorTextTertiary,
|
||||
gaugeBgColor: token.colorFillSecondary,
|
||||
gaugeSplitLineColor: isDarkTheme ? '#999' : 'rgba(255, 255, 255, 1)',
|
||||
gaugeSplitLineColor: isDarkTheme
|
||||
? 'rgba(255,255,255,.3)'
|
||||
: 'rgba(255, 255, 255, 1)',
|
||||
gaugeSplitLineColor2: isDarkTheme
|
||||
? 'rgba(255,255,255,.5)'
|
||||
: 'rgba(255, 255, 255, 1)',
|
||||
colorBgContainerHover: isDarkTheme ? '#424242' : '#fff'
|
||||
};
|
||||
}, [userSettings.theme, isDarkTheme]);
|
||||
@@ -188,11 +193,11 @@ export default function useChartConfig() {
|
||||
}
|
||||
},
|
||||
splitLine: {
|
||||
distance: -6,
|
||||
length: 6,
|
||||
distance: -5,
|
||||
length: 5,
|
||||
lineStyle: {
|
||||
width: 1.5,
|
||||
color: chartColorMap.gaugeSplitLineColor
|
||||
color: chartColorMap.gaugeSplitLineColor2
|
||||
}
|
||||
},
|
||||
axisLabel: {
|
||||
|
||||
@@ -141,11 +141,16 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
||||
backend: 'Ascend MindIE',
|
||||
releases: '',
|
||||
link: 'http://docs.gpustack.ai/latest/user-guide/inference-backends/#parameters-reference_2',
|
||||
version: 'v0.1.0'
|
||||
version: '1.0.0'
|
||||
};
|
||||
}
|
||||
|
||||
return null;
|
||||
return {
|
||||
backend: 'vox-box',
|
||||
releases: 'https://github.com/gpustack/vox-box/releases',
|
||||
link: '',
|
||||
version: 'v0.0.13'
|
||||
};
|
||||
}, [backend]);
|
||||
|
||||
const handleWorkerLabelsChange = useCallback(
|
||||
@@ -414,7 +419,7 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
||||
onDelete={handleDeleteBackendParameters}
|
||||
options={paramsConfig}
|
||||
description={
|
||||
backendParamsTips && (
|
||||
backendParamsTips.link && (
|
||||
<span style={{ marginLeft: 5 }}>
|
||||
{intl.formatMessage(
|
||||
{ id: 'models.form.backend_parameters.vllm.tips' },
|
||||
|
||||
@@ -139,6 +139,7 @@ const RenderRayactorDownloading = (props: {
|
||||
columns={downloadList}
|
||||
dataSource={[...mainWorker, ...list]}
|
||||
rowKey="worker_name"
|
||||
theme="light"
|
||||
></SimpleTabel>
|
||||
</div>
|
||||
);
|
||||
@@ -160,8 +161,10 @@ const RenderWorkerDownloading = (props: {
|
||||
<Tooltip
|
||||
arrow={true}
|
||||
overlayInnerStyle={{
|
||||
width: 300
|
||||
width: 300,
|
||||
backgroundColor: 'var(--color-spotlight-bg)'
|
||||
}}
|
||||
overlayClassName="light-downloading-tooltip"
|
||||
title={
|
||||
<RenderRayactorDownloading
|
||||
severList={rayActors}
|
||||
|
||||
Reference in New Issue
Block a user