Skip to content

Commit

Permalink
Update template preview dimensions in table layout (#63938)
Browse files Browse the repository at this point in the history
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored Jul 31, 2024
1 parent cba05ca commit b1628c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/edit-site/src/components/page-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ const defaultLayouts = {
minWidth: 320,
},
preview: {
minWidth: 120,
maxWidth: 120,
width: '1%',
},
author: {
width: '1%',
Expand Down
2 changes: 2 additions & 0 deletions packages/edit-site/src/components/page-templates/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
.dataviews-view-table & {
border-radius: $radius-block-ui;
position: relative;
width: 120px;
max-height: 160px;

&::after {
content: "";
Expand Down

0 comments on commit b1628c0

Please sign in to comment.