mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 03:21:22 +00:00
Fix: Add border to stage color badges
This commit is contained in:
parent
444d3200c7
commit
2145a3c1f5
@ -6,7 +6,7 @@ import { pxToRem } from '@strapi/helper-plugin';
|
||||
export function ReviewWorkflowsStageEE({ color, name }) {
|
||||
return (
|
||||
<Flex alignItems="center" gap={2} maxWidth={pxToRem(300)}>
|
||||
<Box height={2} background={color} hasRadius shrink={0} width={2} />
|
||||
<Box height={2} background={color} borderColor="neutral150" hasRadius shrink={0} width={2} />
|
||||
|
||||
<Typography fontWeight="regular" textColor="neutral700" ellipsis>
|
||||
{name}
|
||||
|
||||
@ -9,7 +9,14 @@ export function OptionColor({ children, ...props }) {
|
||||
return (
|
||||
<components.Option {...props}>
|
||||
<Flex alignItems="center" gap={2}>
|
||||
<Flex height={2} background={color} hasRadius shrink={0} width={2} />
|
||||
<Flex
|
||||
height={2}
|
||||
background={color}
|
||||
borderColor="neutral150"
|
||||
hasRadius
|
||||
shrink={0}
|
||||
width={2}
|
||||
/>
|
||||
|
||||
<Typography textColor="neutral800" ellipsis>
|
||||
{children}
|
||||
|
||||
@ -9,7 +9,14 @@ export function SingleValueColor({ children, ...props }) {
|
||||
return (
|
||||
<components.SingleValue {...props}>
|
||||
<Flex alignItems="center" gap={2}>
|
||||
<Flex height={2} background={color} hasRadius shrink={0} width={2} />
|
||||
<Flex
|
||||
height={2}
|
||||
background={color}
|
||||
borderColor="neutral150"
|
||||
hasRadius
|
||||
shrink={0}
|
||||
width={2}
|
||||
/>
|
||||
|
||||
<Typography textColor="neutral800" ellipsis>
|
||||
{children}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user