mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 01:53:44 +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 { transparentize } from 'polished';
|
||||||
|
|
||||||
import styled, { extensionsHook, css } from '../styled-components';
|
import styled, { css, extensionsHook } from '../styled-components';
|
||||||
import { PropertyNameCell } from './fields-layout';
|
import { PropertyNameCell } from './fields-layout';
|
||||||
|
import { deprecatedCss } from './mixins';
|
||||||
import { ShelfIcon } from './shelfs';
|
import { ShelfIcon } from './shelfs';
|
||||||
|
|
||||||
export const ClickablePropertyNameCell = styled(PropertyNameCell)`
|
export const ClickablePropertyNameCell = styled(PropertyNameCell)`
|
||||||
|
&.deprecated {
|
||||||
|
span.property-name {
|
||||||
|
${deprecatedCss}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user