Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: query tab scrollbar padding gap fix #38317

Merged
merged 4 commits into from
Dec 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: prevent sticky header from scrolling
  • Loading branch information
alex-golovanov committed Dec 25, 2024
commit 85399dbbd44aef19ce3da06a8d6f190eed210de5
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,18 @@ export const DatasourcePathFieldContainer = styled.div`

export const FormHeader = styled.div`
position: sticky;
grid-area: header;
top: calc(-1 * var(--ads-v2-spaces-4));
padding-top: var(--ads-v2-spaces-4);
margin-top: calc(-1 * var(--ads-v2-spaces-4));
align-self: start;
z-index: 100;
z-index: var(--ads-v2-z-index-21);
background-color: var(--ads-color-background);
height: 100px;
`;

export const Tabs = styled(AdsTabs)`
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto 1fr;
grid-template-areas: "header" "body";
width: 100%;
height: max-content;
`;

export const TabPanel = styled(AdsTabPanel)`
height: calc(100% - 50px);
margin: 0 auto;
`;
Loading