fix: add deprecated css to clickable property name (#2526)

Co-authored-by: Kerem Nalbant <k.nalbant@epilot.cloud>
This commit is contained in:
Kerem Nalbant 2024-04-25 16:24:58 +03:00 committed by GitHub
parent 2b72dc0e90
commit b0d03d0206
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;