Skip to content

Commit

Permalink
Fixed Incorrect Text Position issue in Dataviews (#68767)
Browse files Browse the repository at this point in the history
* Fixed Position Issue in Dataviews

* Removed Empty Line

* Fixed Lint Issue

* Added Suggested Changes

* Added Suggested Changes

* fixed lint issue

* Fixed Lint Issue in field.js

* Added tab in js instead of space

* Fixed Lint Issue in field.js

* Fixed Lint Issue

* Fixed Lint Issue

* fixed field.js issue

* Added Suggested Changes

* fixed lint issue

* fixed lint issue

Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: carolinan <[email protected]>
  • Loading branch information
4 people authored Jan 25, 2025
1 parent 3f87733 commit f073488
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/edit-site/src/components/page-patterns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@

.page-patterns-preview-field {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
border-radius: $radius-medium;

.dataviews-view-grid & {
.block-editor-block-preview__container {
height: 100%;
}
}

.dataviews-view-table & {
width: 96px;
flex-grow: 0;
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
@@ -1,5 +1,7 @@
.page-templates-preview-field {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
width: 100%;
Expand Down

0 comments on commit f073488

Please sign in to comment.