Skip to content

Commit

Permalink
Adjusting App view header padding size and logo size (#11)
Browse files Browse the repository at this point in the history
* make the logo smaller lol
  • Loading branch information
jake-figma authored Sep 4, 2024
1 parent 5cc4eaa commit 6b8fe26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { useState } from "react";

function App() {
const { isMobile, isDesktop } = useMediaQuery();
const headerPadding = isDesktop ? "800" : "600";
const flexGap = isMobile ? "600" : "1200";
const sectionPadding = isMobile ? "600" : "1600";
const [pricingInterval, setPricingInterval] = useState("monthly");
Expand All @@ -44,7 +45,7 @@ function App() {

return (
<AuthenticationProvider>
<Header />
<Header paddingBottom={headerPadding} paddingTop={headerPadding} />
<Section padding={sectionPadding} variant="brand">
<Flex
container
Expand Down
2 changes: 1 addition & 1 deletion src/ui/primitives/Logo/logo.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
> svg {
--logo-color: var(--sds-color-icon-default-default);
height: auto;
width: var(--sds-size-icon-large);
width: var(--sds-size-icon-small);
}
}

0 comments on commit 6b8fe26

Please sign in to comment.