Skip to content

Commit

Permalink
Fix iframe width (#3279)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus authored Jan 23, 2023
1 parent 010115a commit 94d6673
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions catalog/app/components/Preview/renderers/IFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const useStyles = M.makeStyles({
root: {
border: 'none',
height: '90vh',
width: '100%',
},
})

Expand Down
4 changes: 2 additions & 2 deletions catalog/app/containers/Admin/Settings/ThemeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function ThemePreview({}: ThemePreviewProps) {
)
}

const useThemeEditorStyles = M.makeStyles((t) => ({
const useStyles = M.makeStyles((t) => ({
actions: {
alignItems: 'center',
display: 'flex',
Expand All @@ -226,7 +226,7 @@ export default function ThemeEditor() {

const { push } = Notifications.use()

const classes = useThemeEditorStyles({
const classes = useStyles({
backgroundColor: settings?.theme?.palette?.primary?.main,
})

Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Entries inside each section should be ordered by type:
* [Added] WebP support in thumbnail lambda ([#3275](https://github.com/quiltdata/quilt/pull/3275))
* [Fixed] Fix performance issue (missing memoization) in search results ([#3257](https://github.com/quiltdata/quilt/pull/3257))
* [Fixed] Fix fetching and writing settings in Admin/Settings section ([#3276](https://github.com/quiltdata/quilt/pull/3276))
* [Fixed] Fix iframe preview width ([#3279](https://github.com/quiltdata/quilt/pull/3279))
* [Changed] Make file preview wrapper consistently 100% width ([#3245](https://github.com/quiltdata/quilt/pull/3245))
* [Changed] Show collapsed values in JSON viewer ([#3249](https://github.com/quiltdata/quilt/pull/3249))
* [Changed] Rename "Metadata" to "User metadata" ([#3255](https://github.com/quiltdata/quilt/pull/3255))
Expand Down

0 comments on commit 94d6673

Please sign in to comment.