Skip to content

Commit

Permalink
remove unnecessary top bar styles on leftCol and wide breakpoints (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 authored Jul 16, 2024
1 parent 5d07195 commit d7f28bc
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions dotcom-rendering/src/components/TopBar.importable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ const topBarStyles = css`
}
`;

const topBarStylesWithoutPageSkin = css`
${from.wide} {
padding-right: 96px;
}
`;

const topBarLinkContainerStyles = css`
height: 100%;
display: flex;
Expand Down Expand Up @@ -148,13 +142,7 @@ export const TopBar = ({
});

return (
<div
css={[
topBarStyles,
!hasPageSkin && topBarStylesWithoutPageSkin,
hasPageSkin ? pageSkinContainer : center,
]}
>
<div css={[topBarStyles, hasPageSkin ? pageSkinContainer : center]}>
<TopBarLinkContainer showVerticalDivider={false} alignLeft={true}>
<TopBarSupport
contributionsServiceUrl={contributionsServiceUrl}
Expand Down

0 comments on commit d7f28bc

Please sign in to comment.