Skip to content

Commit

Permalink
Update template description in table layout (#63942)
Browse files Browse the repository at this point in the history
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
3 people authored Jul 29, 2024
1 parent 14816d2 commit ea91b6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/base-styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ $text-editor-font-size: 15px;
$editor-line-height: 1.8;
$mobile-text-min-font-size: 16px; // Any font size below 16px will cause Mobile Safari to "zoom in".


/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
Expand Down
8 changes: 7 additions & 1 deletion packages/edit-site/src/components/page-templates/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@
}

.page-templates-description {
white-space: normal;
max-width: 50em;
text-wrap: balance; // Fallback for Safari
text-wrap: pretty;

.dataviews-view-table & {
margin-bottom: $grid-unit-10;
}
}

.edit-site-page-templates {
Expand Down

1 comment on commit ea91b6f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in ea91b6f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10142442258
📝 Reported issues:

Please sign in to comment.