The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: Added isReadonly logic to css (#14584)
Saurav Jaindb8d8e8400c9
diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsxindex aff49e2621d..c81c52ab6f6 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx@@ -41,17 +41,19 @@ const StyledLabelAndIconContainer = styled.div`height: 24px;`;-const StyledValueContainer = styled.div<{- readonly: boolean;-}>`+const StyledValueContainer = styled.div<{ readonly: boolean }>`display: flex;min-width: 0;position: relative;width: 100%;- &:hover .record-inline-cell-value-display {- opacity: 0;- }+ ${({ readonly }) =>+ !readonly &&+ `+ &:hover .record-inline-cell-value-display {+ opacity: 0;+ }+ `}`;const StyledLabelContainer = styled.div<{ width?: number }>`