Skip to content

Commit 4cd0009

Browse files
authored
Merge pull request #2275 from tekdi/release-1.12.0-prod-fix
Release 1.12.0 prod fix to 13 dev
2 parents 0d71665 + 66fd37e commit 4cd0009

File tree

4 files changed

+204
-110
lines changed

4 files changed

+204
-110
lines changed

apps/learner-web-app/src/components/Content/Player.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,15 @@ const App = ({
392392
/>
393393
{item?.content?.artifactUrl &&
394394
isDownloadableMimeType(item?.content?.mimeType || mimeType) && (
395-
<Box sx={{ mt: 3, display: 'flex', justifyContent: 'center' }}>
395+
<Box
396+
sx={{
397+
my: 3,
398+
display: 'flex',
399+
justifyContent: 'center',
400+
alignItems: 'center',
401+
minHeight: '60px',
402+
}}
403+
>
396404
<Button
397405
variant="contained"
398406
onClick={handleDownloadButtonClick}
@@ -529,6 +537,18 @@ const App = ({
529537
margin: 0,
530538
maxHeight: '100vh',
531539
},
540+
}}
541+
PaperProps={{
542+
sx: {
543+
width: {
544+
xs: '100%',
545+
sm: '80%',
546+
md: '60%',
547+
lg: '50%',
548+
},
549+
maxWidth: '100%',
550+
maxHeight: '100vh',
551+
},
532552
}}
533553
>
534554
<DialogTitle

apps/learner-web-app/src/components/themantic/content/Player.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,18 @@ const App = ({
519519
maxHeight: '100vh',
520520
},
521521
}}
522+
PaperProps={{
523+
sx: {
524+
width: {
525+
xs: '100%',
526+
sm: '80%',
527+
md: '60%',
528+
lg: '50%',
529+
},
530+
maxWidth: '100%',
531+
maxHeight: '100vh',
532+
},
533+
}}
522534
>
523535
<DialogTitle
524536
sx={{

0 commit comments

Comments
 (0)