diff --git a/desktop/plugins/public/ui-debugger/components/sidebarV2/AttributesInspector.tsx b/desktop/plugins/public/ui-debugger/components/sidebarV2/AttributesInspector.tsx index 8e22e890e..a48b110c6 100644 --- a/desktop/plugins/public/ui-debugger/components/sidebarV2/AttributesInspector.tsx +++ b/desktop/plugins/public/ui-debugger/components/sidebarV2/AttributesInspector.tsx @@ -271,11 +271,12 @@ function NamedAttribute({ {name} @@ -297,6 +298,7 @@ function NamedAttribute({ * disables hover and focsued states */ const readOnlyInput = css` + font-size: small; :hover { border-color: ${theme.disabledColor} !important; } @@ -501,16 +503,27 @@ function AttributeValue({ case 'object': return ( @@ -519,6 +532,8 @@ function AttributeValue({ return null; } +const rowHeight = 26; + function ColorInspector({inspectable}: {inspectable: InspectableColor}) { return ( @@ -545,8 +560,8 @@ function ColorInspector({inspectable}: {inspectable: InspectableColor}) { } const ColorPreview = styled.div(({background}: {background: string}) => ({ - width: '28px', - height: '28px', + width: rowHeight, + height: rowHeight, borderRadius: '8px', borderColor: theme.disabledColor, borderStyle: 'solid',