Skip to content

Commit

Permalink
Change padding
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Jan 23, 2024
1 parent be688c4 commit 8f752f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions overrides/home/ams-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ const BannerBox = styled.div`

const BannerContainer = styled(Hug)`
width: 100%;
padding: ${glsp(0.5, 0.25)};
padding: ${glsp(0, 0.25)};
${media.mediumDown`
padding: ${glsp(0.25, 0.25)};
`}
`;

const BannerContent = styled.div`
Expand All @@ -49,7 +52,7 @@ const BannerContent = styled.div`
export default function Banner() {
const showBanner = (localStorage.getItem(AMS_BANNER_KEY) !== 'false') && !!getString('tempBanner')?.other
const [ showTempBanner, setShowTempBanner ] = useState(showBanner);

function onClick () {
localStorage.setItem(
AMS_BANNER_KEY,
Expand Down

0 comments on commit 8f752f0

Please sign in to comment.