add banner widget dimensions param
This commit is contained in:
parent
52ff0a4e6c
commit
59d4678afd
@ -7,7 +7,7 @@
|
||||
"@emotion/react": "^11.10.5",
|
||||
"@emotion/styled": "^11.10.5",
|
||||
"@frontend/kitui": "^1.0.82",
|
||||
"@frontend/squzanswerer": "^1.0.42",
|
||||
"@frontend/squzanswerer": "^1.0.43",
|
||||
"@mui/icons-material": "^5.10.14",
|
||||
"@mui/material": "^5.10.14",
|
||||
"@mui/x-charts": "^6.19.5",
|
||||
|
||||
7
src/pages/InstallQuiz/QuizInstallationCard/WidgetSetupByType/BannerWidgetSetup/BannerWidgetSetup.tsx
7
src/pages/InstallQuiz/QuizInstallationCard/WidgetSetupByType/BannerWidgetSetup/BannerWidgetSetup.tsx
@ -77,6 +77,13 @@ export default function BannerWidgetSetup({ step, nextButton }: Props) {
|
||||
appealText: appealText || undefined,
|
||||
quizHeaderText: quizHeaderText || undefined,
|
||||
pulsation: pulsation || undefined,
|
||||
dialogDimensions:
|
||||
widgetWidth || widgetHeight
|
||||
? {
|
||||
width: widgetWidth ? `${widgetWidth}px` : "100%",
|
||||
height: widgetHeight ? `${widgetHeight}px` : "100%",
|
||||
}
|
||||
: undefined,
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
@ -1527,10 +1527,10 @@
|
||||
immer "^10.0.2"
|
||||
reconnecting-eventsource "^1.6.2"
|
||||
|
||||
"@frontend/squzanswerer@^1.0.42":
|
||||
version "1.0.42"
|
||||
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/43/packages/npm/@frontend/squzanswerer/-/@frontend/squzanswerer-1.0.42.tgz#9c904cd034c5aece72f150e8bfe717edcc8f1d53"
|
||||
integrity sha1-nJBM0DTFrs5y8VDov+cX7cyPHVM=
|
||||
"@frontend/squzanswerer@^1.0.43":
|
||||
version "1.0.43"
|
||||
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/43/packages/npm/@frontend/squzanswerer/-/@frontend/squzanswerer-1.0.43.tgz#923c08113256570278babb23f3fdfb89e4ae35b7"
|
||||
integrity sha1-kjwIETJWVwJ4ursj8/37ieSuNbc=
|
||||
dependencies:
|
||||
bowser "1.9.4"
|
||||
country-flag-emoji-polyfill "^0.1.8"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user