mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
29 lines
727 B
TypeScript
29 lines
727 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import type {SectionProps} from 'sentry/views/replays/detail/accessibility/details/sections';
|
|
import {
|
|
ElementSection,
|
|
GeneralSection,
|
|
} from 'sentry/views/replays/detail/accessibility/details/sections';
|
|
import FluidHeight from 'sentry/views/replays/detail/layout/fluidHeight';
|
|
|
|
type Props = SectionProps;
|
|
|
|
export default function AccessibilityDetailsContent(props: Props) {
|
|
return (
|
|
<OverflowFluidHeight>
|
|
<SectionList>
|
|
<ElementSection {...props} />
|
|
<GeneralSection {...props} />
|
|
</SectionList>
|
|
</OverflowFluidHeight>
|
|
);
|
|
}
|
|
|
|
const OverflowFluidHeight = styled(FluidHeight)`
|
|
overflow: auto;
|
|
`;
|
|
const SectionList = styled('dl')`
|
|
margin: 0;
|
|
`;
|