Skip to content

Commit b0d03d0

Browse files
keremnalbantKerem Nalbant
andauthored
fix: add deprecated css to clickable property name (#2526)
Co-authored-by: Kerem Nalbant <k.nalbant@epilot.cloud>
1 parent 2b72dc0 commit b0d03d0

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/common-elements/fields.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
import { transparentize } from 'polished';
22

3-
import styled, { extensionsHook, css } from '../styled-components';
3+
import styled, { css, extensionsHook } from '../styled-components';
44
import { PropertyNameCell } from './fields-layout';
5+
import { deprecatedCss } from './mixins';
56
import { ShelfIcon } from './shelfs';
67

78
export const ClickablePropertyNameCell = styled(PropertyNameCell)`
9+
&.deprecated {
10+
span.property-name {
11+
${deprecatedCss}
12+
}
13+
}
14+
815
button {
916
background-color: transparent;
1017
border: 0;

0 commit comments

Comments
 (0)