Fix record name hover (#19109)
## Before https://github.com/user-attachments/assets/1972f3ac-17b2-4531-a64e-22f2672de71c ## After https://github.com/user-attachments/assets/0fffdac6-0fcb-4446-9b7f-1791ec08e2df
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
import { FieldContext } from '@/object-record/record-field/ui/contexts/FieldContext';
|
||||
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
|
||||
import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
|
||||
import { useRecordTitleCell } from '@/object-record/record-title-cell/hooks/useRecordTitleCell';
|
||||
import { type RecordTitleCellContainerType } from '@/object-record/record-title-cell/types/RecordTitleCellContainerType';
|
||||
import { getRecordFieldInputInstanceId } from '@/object-record/utils/getRecordFieldInputId';
|
||||
import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
|
||||
import { styled } from '@linaria/react';
|
||||
import { t } from '@lingui/core/macro';
|
||||
import { useContext } from 'react';
|
||||
@@ -24,7 +24,7 @@ const StyledDiv = styled.div`
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
padding: ${themeCssVariables.spacing[0]} 5px;
|
||||
:hover {
|
||||
&:hover {
|
||||
background: ${themeCssVariables.background.transparent.light};
|
||||
}
|
||||
`;
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ const StyledDiv = styled.div`
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
padding: ${themeCssVariables.spacing[0]} 5px;
|
||||
:hover {
|
||||
&:hover {
|
||||
background: ${themeCssVariables.background.transparent.light};
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user