{"push_id":2696813539,"size":3,"distinct_size":1,"ref":"refs/heads/try/move-opinionated-styles","head":"55dda57e04c77927a16a90f79cb1b498fff0cfd7","before":"6d50a25debdd7f0521d806e18b0f8f5217fbb274","commits":[{"sha":"06a621d1df05490c99b9f3b9331588616aaff69e","author":{"name":"Joen Asmussen","email":"387d0ff94125b9a143f1574a6d2db2bcc3b26c10@automattic.com"},"message":"Allow margins to collapse & refactor block toolbar (#7365)\n\n* Allow collapsing margins & adjust block toolbar\r\n\r\nThis PR refactors how the block toolbar is positioned. Because we use sticky, the toolbar is part of the flow of the block itself. In this PR it uses translate to pull it out of the flow, making the positioning more resilient.\r\n\r\nThe primary purpose of this PR is to allow margins to collapse. When two margins meet, and no borders or paddings are present, they collapse. I.e. a `p` with a 20px margin next to a similar `p` will have only 20px margin between them, not 40px, because the two siblings collapse to whichever margin is the largest. By allowing margins on blocks to collapse, we can make it easier to theme the editor to look like the frontend.\r\n\r\n* docs: Tweak comment in CSS\r\n\r\n* fix: Multi-block selection on mouse movement after mouseDown\r\n\r\n* Fix rebase issues, part 1\r\n\r\n- Fixed toolbar position on mobile.\r\n- Fixed toolbar position on desktop breakpoints\r\n- Fixed appender regression\r\n- Fixed issue with warning blocks having no hover or selected outlines.\r\n- Fixed positioning of ellipsis on wide blocks.\r\n- Fixed issue with full-wide gallery.\r\n\r\n* Fix rebase issues, part 2.\r\n\r\n- Fixed a few typos and an issue with warnings. This will be revisited in a future patch also being worked on separately.\r\n- Fixed position of toolbar on wide and fullwide.\r\n- Fixed positioning of mover on wide and fullwide.\r\n- Fixed issue with additional margins in columns block.\r\n- Fixed issue with the invisible toolbar on the Column (singular) block breaking the layout. This also fixed an issue with the hover label and sibling inserter positioning on the column.\r\n\r\n* Fix rebase issues, part 3.\r\n\r\n- Fixed a regression in IE.\r\n- Fixed the position of editor warning after the refactor.\r\n\r\n* chore: Typo tweaks\r\n\r\n* Remove comment.\r\n\r\n* Tests: Make adding blocks e2e test pass by refering the area below editor explicitly","distinct":false,"url":"https://api.github.com/repos/WordPress/gutenberg/commits/06a621d1df05490c99b9f3b9331588616aaff69e"},{"sha":"622bbfb6bc6364a4e49991081aafed4257309c92","author":{"name":"Jorge","email":"4c1894a7b3930a11eff2abf307d6c03cffbff240@developer.pt"},"message":"Columns: Avoid re-render and subsequent action dispatch by adopting module constant (#7720)\n\nWe were passing a new allowedBlocks reference on each column render. This dispatch additional unnecessary further actions to update inner block settings.\r\nallowedBlocks reference should only be changed if, in fact, we are changing the allowedBlocks.\r\nIn the columns block, we can make allowed block a constant given that it never changes.\r\n\r\nThis problem may cause noticeable lag when writing/using columns because updating the InnerBlock setting may cause another rerender and another rerender updates the settings again. So this change prevents cascade re-renders.","distinct":false,"url":"https://api.github.com/repos/WordPress/gutenberg/commits/622bbfb6bc6364a4e49991081aafed4257309c92"},{"sha":"55dda57e04c77927a16a90f79cb1b498fff0cfd7","author":{"name":"Joen Asmussen","email":"479bb2082ea785122a93c47da964edc8861daf3b@gmail.com"},"message":"Move opinionated styles to separate opt-in theme.scss files\n\nThis moves opinionated styles, such as colors, fonts, and other non-structural elements to separate theme.scss files which require opt in by the theme itself. This includes in this PR:\n\n- Code styles\n- Embed captions\n- Image captions\n- Preformatted styles\n- Pullquote fonts & border styles\n- Quote styles\n- Table styles\n- Video captions\n\nIn addition to this there's a new caption style mixin which reduces caption style reuse.","distinct":true,"url":"https://api.github.com/repos/WordPress/gutenberg/commits/55dda57e04c77927a16a90f79cb1b498fff0cfd7"}]}
{"actor":{"display_login":"jasmussen"}}