Skip to content

Commit

Permalink
style(@leav/ui): use DS variable to custom style
Browse files Browse the repository at this point in the history
  • Loading branch information
P0ppoff committed Nov 4, 2024
1 parent cc66842 commit 44bfd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/data-studio/src/components/LibraryHome/LibraryHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ interface ILibraryHomeProps {
const ExplorerContainerDivStyled = styled.div`
--headerSize: 48px;
padding: 24px;
background-color: #f4f7ff;
padding: calc(var(--general-spacing-l) * 1px);
background-color: var(--general-colors-primary-50);
height: calc(100vh - var(--headerSize));
`;

Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/components/Explorer/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ExplorerHeaderDivStyled = styled.div`
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 8px;
padding-bottom: calc(var(--general-spacing-xs) * 1px);
`;

export const Explorer: FunctionComponent<IExplorerProps> = ({
Expand Down

0 comments on commit 44bfd5c

Please sign in to comment.