Skip to content

Commit

Permalink
Enables full-height widget players for widgets that do not provide a …
Browse files Browse the repository at this point in the history
…height value
  • Loading branch information
clpetersonucf committed Aug 28, 2023
1 parent f07b4a1 commit 6c149d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widget-player.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ const WidgetPlayer = ({instanceId, playId, minHeight='', minWidth='',showFooter=
style={{minHeight: minHeight + 'px',
minWidth: minWidth + 'px',
width: demoData.width !== '0px' ? demoData.width : 'auto',
height: demoData.height !== '0px' ? demoData.height : '',
height: demoData.height !== '0px' ? demoData.height : '100%',
position: demoData.loading ? 'relative' : 'static'}}>
<iframe src={ demoData.htmlPath }
id='container'
Expand Down
1 change: 1 addition & 0 deletions src/components/widget-player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ body {

#app {
position: relative;
height: calc(100% - 42px);
}

section.widget {
Expand Down

0 comments on commit 6c149d7

Please sign in to comment.