The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix the call recorder custom hex input border (#28279)
nitin777deae041f1
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsxindex a1a2c370726..64c5f9af799 100644--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx@@ -4,33 +4,32 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsColorSample } from 'src/front-components/components/SettingsColorSample';import { StyledSettingsTextInput } from 'src/front-components/components/StyledSettingsTextInput';-const StyledAdornmentContainer = styled.div`+const StyledContainer = styled.div`align-items: center;background-color: ${() => themeCssVariables.background.transparent.light};border: 1px solid ${() => themeCssVariables.border.color.medium};- border-bottom-left-radius: ${() => themeCssVariables.border.radius.md};- border-right: none;- border-top-left-radius: ${() => themeCssVariables.border.radius.md};+ border-radius: ${() => themeCssVariables.border.radius.md};box-sizing: border-box;display: flex;height: 32px;- padding: ${() => themeCssVariables.spacing[2]};-`;+ width: 100%;-const StyledAdornedInput = styled(StyledSettingsTextInput)`- border-bottom-left-radius: 0;- border-left: none;- border-top-left-radius: 0;+ &:focus-within {+ border-color: ${() => themeCssVariables.color.blue};+ }`;-const StyledContainer = styled.div`+const StyledAdornmentContainer = styled.div`align-items: center;display: flex;- width: 100%;+ padding: ${() => themeCssVariables.spacing[2]};+`;- &:focus-within ${StyledAdornmentContainer} {- border-color: ${() => themeCssVariables.color.blue};- }+const StyledAdornedInput = styled(StyledSettingsTextInput)`+ background-color: transparent;+ border: none;+ border-radius: 0;+ height: 100%;`;type AdornedHexInputProps = {