The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Added shadow effect on table cell hover (#258)
Lucas Bordeauab1f1a3f6799
diff --git a/front/src/modules/ui/components/editable-cell/EditableCellDisplayMode.tsx b/front/src/modules/ui/components/editable-cell/EditableCellDisplayMode.tsxindex 1f24e493766..4dfa2b750b0 100644--- a/front/src/modules/ui/components/editable-cell/EditableCellDisplayMode.tsx+++ b/front/src/modules/ui/components/editable-cell/EditableCellDisplayMode.tsx@@ -10,6 +10,16 @@ export const EditableCellNormalModeOuterContainer = styled.div`padding-left: ${(props) => props.theme.spacing(2)};padding-right: ${(props) => props.theme.spacing(1)};++ &:hover {+ background: ${(props) => props.theme.secondaryBackgroundTransparent};++ -webkit-box-shadow: inset 0 0 0 1px ${(props) => props.theme.text20};+ -moz-box-shadow: inset 0 0 0 1px ${(props) => props.theme.text20};+ box-shadow: inset 0 0 0 1px ${(props) => props.theme.text20};++ border-radius: ${(props) => props.theme.borderRadius};+ }`;export const EditableCellNormalModeInnerContainer = styled.div`