Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mover for floats. #18230

Merged
merged 1 commit into from
Nov 1, 2019
Merged

Fix mover for floats. #18230

merged 1 commit into from
Nov 1, 2019

Conversation

jasmussen
Copy link
Contributor

@jasmussen jasmussen commented Nov 1, 2019

Floated images had special rules for the mover control. These are no longer necessary, and indeed created a buggy looking control.

Before:

Screenshot 2019-11-01 at 10 04 32

After:

Screenshot 2019-11-01 at 10 34 59

There is a little extra margin around the floats, that is not really necessary as you can see — this is due to the lack of block borders around floated images. This can be improved in a separate exploration if need be, but isn't strictly necessary as we are likely to revisit the mover control in the not too distant future.

Floated images had special rules for the mover control. These are no longer necessary, and indeed created a buggy looking control.
@jasmussen jasmussen added the [Type] Bug An existing feature does not function as intended label Nov 1, 2019
@jasmussen jasmussen self-assigned this Nov 1, 2019
Copy link
Contributor

@draganescu draganescu left a comment

Choose a reason for hiding this comment

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

Tested and it works great!

@jasmussen jasmussen merged commit a353bc9 into master Nov 1, 2019
@jasmussen jasmussen deleted the fix/float-mover branch November 1, 2019 10:46
daniloercoli added a commit that referenced this pull request Nov 5, 2019
…rnmobile/gb-mobile-872-JSApplicationIllegalArgumentException-in-RCTAztecView

* 'master' of https://github.com/WordPress/gutenberg: (56 commits)
  Update: Default gradients. (#18214)
  Fix: setting a preset color on pullquote default style makes the block invalid (#18194)
  Fix default featured image size (#15844)
  Fix postmeta radio regression. (#18183)
  Components: Switch screen-reader-text to VisuallyHidden (#18165)
  [rnmobile] Release 1.16.0 to master (#18261)
  Template Loader: Add theme block template resolution. (#18247)
  Add a README file for storybook directory (#18245)
  Add editor-gradient-presets to get_theme_support (#17841)
  Add "Image Title Attribute" as an editable attribute on the image block (#11070)
  enables horizontal movers in social blocks (#18234)
  [RNMobile] Add mobile Spacer component (#17896)
  Add experimental `ResponsiveBlockControl` component (#16790)
  Fix mover for floats. (#18230)
  Rename Component to WPComponent in docstring (#18226)
  Colors Selector: replace `Aa` text by SVG icon (#18222)
  Removed gif from README (#18200)
  makes the submenu items stacked vertically (#18221)
  Add block navigator to sidebar panel for nav block (#18202)
  Fix: consecutive updates may trigger a blocks reset (#18219)
  ...
jorgefilipecosta pushed a commit that referenced this pull request Nov 5, 2019
Floated images had special rules for the mover control. These are no longer necessary, and indeed created a buggy looking control.
jorgefilipecosta pushed a commit that referenced this pull request Nov 5, 2019
Floated images had special rules for the mover control. These are no longer necessary, and indeed created a buggy looking control.
pento pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 5, 2019
nylen pushed a commit to nylen/wordpress-develop-svn that referenced this pull request Nov 5, 2019
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Nov 5, 2019
gMagicScott pushed a commit to gMagicScott/core.wordpress-mirror that referenced this pull request Nov 5, 2019
@youknowriad youknowriad added this to the Gutenberg 6.9 milestone Nov 11, 2019
miya0001 pushed a commit to cjk4wp/wordpress that referenced this pull request Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants