diff --git a/src/widgets/banner/QuizBanner.tsx b/src/widgets/banner/QuizBanner.tsx index 732cf31..d8f94b3 100644 --- a/src/widgets/banner/QuizBanner.tsx +++ b/src/widgets/banner/QuizBanner.tsx @@ -85,7 +85,7 @@ export default function QuizBanner({ position: "fixed", height: "120px", width: bannerFullWidth ? "100%" : "800px", - maxWidth: `calc(100% - ${PADDING * 2}px)`, + maxWidth: bannerFullWidth ? "100%" : `calc(100% - ${PADDING * 2}px)`, }, position === "topleft" && { top: bannerFullWidth ? 0 : PADDING, @@ -111,7 +111,7 @@ export default function QuizBanner({ width: "100%", pointerEvents: "none", willChange: "box-shadow", - borderRadius: rounded ? "8px" : 0, + borderRadius: rounded && !bannerFullWidth ? "8px" : 0, animation: "pena-pulsation linear 5s infinite", "@keyframes pena-pulsation": { "0%": { @@ -141,7 +141,7 @@ export default function QuizBanner({ px: "28px", color: buttonTextColor, backgroundColor: buttonBackgroundColor, - borderRadius: rounded ? "8px" : 0, + borderRadius: rounded && !bannerFullWidth ? "8px" : 0, justifyContent: "start", }, withShadow && {