File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ export const HorizontalEvaluationBar: React.FC<Props> = ({
15
15
width = Math . max ( 0 , Math . min ( 100 , width ) )
16
16
17
17
return (
18
- < div className = "relative flex h-6 w-[75vh] max-w-[70vw] flex-col justify-center overflow-hidden rounded-sm bg-engine-1" >
19
- < div className = "absolute left-0 top-0 z-0 h-full w-full bg-black bg-opacity-40" />
18
+ < div className = "relative flex h-6 w-[75vh] max-w-[70vw] flex-col justify-center overflow-hidden rounded-sm bg-engine-3/30" >
20
19
< p className = "z-10 ml-2 whitespace-nowrap text-sm" > { label } </ p >
21
20
< div
22
- className = "absolute bottom-0 left-0 z-0 h-full w-full transform rounded-r-sm bg-engine-1 duration-300"
21
+ className = "absolute bottom-0 left-0 z-0 h-full w-full transform rounded-r-sm bg-engine-3 duration-300"
23
22
style = { { width : `${ width } %` } }
24
23
/>
25
24
</ div >
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ export const VerticalEvaluationBar: React.FC<Props> = ({
14
14
const height = ( ( value ?? min - min ) / ( max - min ) ) * 100
15
15
16
16
return (
17
- < div className = "relative flex h-[75vh] max-h-[70vw] w-6 flex-col justify-end overflow-hidden rounded-sm bg-human-4" >
18
- < div className = "absolute left-0 top-0 z-0 h-full w-full bg-black bg-opacity-40" />
17
+ < div className = "relative flex h-[75vh] max-h-[70vw] w-6 flex-col justify-end overflow-hidden rounded-sm bg-human-3/30" >
19
18
< p className = "z-10 mb-2 -rotate-90 whitespace-nowrap text-sm" > { label } </ p >
20
19
< div
21
20
className = "absolute bottom-0 left-0 z-0 h-full w-full transform rounded-t-sm bg-human-3 duration-300"
You can’t perform that action at this time.
0 commit comments