mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
fix: add deprecated css to clickable property name (#2526)
Co-authored-by: Kerem Nalbant <k.nalbant@epilot.cloud>
This commit is contained in:
parent
2b72dc0e90
commit
b0d03d0206
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user