Skip to content

Commit

Permalink
Fix several minor style issues caused by change to interface skeleton (
Browse files Browse the repository at this point in the history
…#90)

* Set a max width for the interface skeleton

This helps prevent it going too wide depending on the content

* Restore behaviour of fullscreen mode on html node

It previously added is-fullscreen-mode to the html node. Until there is a consistent pattern, let's restore that

* Explicitly close the inserter

Rather than rely on focus being changed and then closing the inserter, explicitly close it. This is a bit faster, and fixes the situation where opening the pattern explorer means that the block inserter can't be closed.

* Don't apply button style when active

This allows active styles to work

* Bundle

* Update changelog
  • Loading branch information
johngodley committed Nov 26, 2021
1 parent 5791a6a commit f912aaa
Show file tree
Hide file tree
Showing 20 changed files with 72 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Restore previous `is-fullscreen-mode` behaviour
- Set a max width on interface skeleton to help stop wide content pushing outside of the editor
- Change how inserter is closed so it works better with pattern explorer

## [2.7.0] - 2021-11-23

### Breaking changes
Expand Down
4 changes: 2 additions & 2 deletions build-browser/isolated-block-editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build-browser/isolated-block-editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build-module/components/block-editor-container/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
text-decoration: none;
}

.components-popover__content button {
.components-popover__content button:not(.is-active) {
font-weight: normal;
text-transform: none;
font-family: Arial;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f912aaa

Please sign in to comment.