Bugfix/style and i18n fixes (#12350)

This commit is contained in:
Wood
2025-01-04 11:52:13 +08:00
committed by GitHub
parent 6c9e6a3a5a
commit b8ba39dfae
5 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ const WeightedScore = ({
return (
<div>
<div className='px-3 pt-5 h-[52px] space-x-3 rounded-lg border border-components-panel-border'>
<div className='px-3 pt-5 pb-2 space-x-3 rounded-lg border border-components-panel-border'>
<Slider
className={cn('grow h-0.5 !bg-util-colors-teal-teal-500 rounded-full')}
max={1.0}
@@ -39,7 +39,7 @@ const WeightedScore = ({
onChange={v => onChange({ value: [v, (10 - v * 10) / 10] })}
trackClassName='weightedScoreSliderTrack'
/>
<div className='flex justify-between mt-1'>
<div className='flex justify-between mt-3'>
<div className='shrink-0 flex items-center w-[90px] system-xs-semibold-uppercase text-util-colors-blue-light-blue-light-500'>
<div className='mr-1 truncate uppercase' title={t('dataset.weightedScore.semantic') || ''}>
{t('dataset.weightedScore.semantic')}