Skip to content

Commit

Permalink
chore: remove layout shift with ads in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 29, 2024
1 parent bcbe7f3 commit f9dbee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Util/CarbonAd.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { onlyClassic = false, preferStart = false } = Astro.props;
---

<div
class="2xl:justify-star bottom-0 right-0 z-50 flex h-auto min-h-[12.5rem] items-center justify-center p-6 md:p-4 2xl:fixed"
class="2xl:justify-star bottom-0 right-0 z-50 flex h-auto min-h-[16rem] items-center justify-center p-6 sm:min-h-[12.5rem] md:p-4 2xl:fixed"
class:list={{
"md:justify-start": preferStart,
}}>
Expand Down

0 comments on commit f9dbee5

Please sign in to comment.