Fix UI bug in REST API playground (#10848)
When you clicked on the left-side menu to navigate, the top bar would disappear. This PR fixes that and the top bar always remain visible.
This commit is contained in:
@ -1,4 +1,7 @@
|
|||||||
import { PageHeader } from '@/ui/layout/page/components/PageHeader';
|
import {
|
||||||
|
PAGE_BAR_MIN_HEIGHT,
|
||||||
|
PageHeader,
|
||||||
|
} from '@/ui/layout/page/components/PageHeader';
|
||||||
import {
|
import {
|
||||||
Breadcrumb,
|
Breadcrumb,
|
||||||
BreadcrumbProps,
|
BreadcrumbProps,
|
||||||
@ -23,7 +26,9 @@ const StyledFullScreen = styled.div`
|
|||||||
|
|
||||||
const StyledMainContainer = styled.div`
|
const StyledMainContainer = styled.div`
|
||||||
border-top: 1px solid ${({ theme }) => theme.border.color.medium};
|
border-top: 1px solid ${({ theme }) => theme.border.color.medium};
|
||||||
height: 100%;
|
height: calc(
|
||||||
|
100% - ${PAGE_BAR_MIN_HEIGHT}px - ${({ theme }) => theme.spacing(2 * 2)}
|
||||||
|
);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user