Skip to content

Commit

Permalink
fix: add deprecated css to clickable property name (#2526)
Browse files Browse the repository at this point in the history
Co-authored-by: Kerem Nalbant <k.nalbant@epilot.cloud>
  • Loading branch information
keremnalbant and Kerem Nalbant authored Apr 25, 2024
1 parent 2b72dc0 commit b0d03d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/common-elements/fields.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import { transparentize } from 'polished';

import styled, { extensionsHook, css } from '../styled-components';
import styled, { css, extensionsHook } from '../styled-components';
import { PropertyNameCell } from './fields-layout';
import { deprecatedCss } from './mixins';
import { ShelfIcon } from './shelfs';

export const ClickablePropertyNameCell = styled(PropertyNameCell)`
&.deprecated {
span.property-name {
${deprecatedCss}
}
}
button {
background-color: transparent;
border: 0;
Expand Down

0 comments on commit b0d03d0

Please sign in to comment.