Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
layout_builder.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Aug 2018 at 18:20 UTC
Updated:
27 Apr 2019 at 17:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dead_armAdds additional CSS for RTL support.
Comment #3
tim.plunkettLooks great! Just super nitpicks left.
Other places in core don't have a blank line between these blocks, as they are tightly paired.
Extra double space here between ; and /
Comment #4
dead_armThank you for feedback, updated patch attached.
Comment #5
tim.plunkettLooks good, thanks!
Comment #6
dead_armNew patch to adjust the plus icon background image positioning.
Comment #7
tim.plunkettOoooooh, good catch!
That would mean this line also gets a /* LTR */ comment, right?
Comment #8
tim.plunkettComment #9
dead_armAdded inline comment, interdiff and patch uploaded.
Comment #10
pcate commentedRTL support looks good!
Note related to RTL support, but for line #8:
transition: visually-hidden 2s ease-out, height 2s ease-in;visually-hiddenisn't a valid CSS property.Comment #11
dead_armComment #12
dead_armOpened https://www.drupal.org/project/drupal/issues/2995143 as a follow up to address CSS transition on new-section.
Comment #13
tim.plunkettFixes look great, thanks for opening the follow-up.
Comment #16
tim.plunkettComment #17
kostyashupenkopatch rerolled & updated with the correct css-selectors
Comment #18
mark_fullmerComment #19
mark_fullmerPatch coming shortly (DCon Seattle)...
Comment #20
mark_fullmerNew patch added with the following motivation:
- The previous patch did not apply against the latest changes in
core/modules/layout_builder/css/layout-builder.css(and accordingly, this post does not include an interdiff)- The original RTL/LTR changes needed to be added to
core/themes/stable/css/layout_builder/layout-builder.cssScreenshot of expected changes for testers:
LTR display / RTL display
- Add icon repositioned

- Remove icon repositioned
Comment #21
brad.bulger commentedWe're trying to test the patch.
Comment #22
brad.bulger commentedApplied the patch to 8.8.x and the reported issue looks fixed. Adding blocks with field content, all the controls have swapped sides. The only thing that seemed odd was that inline labels are on the left of the field, but that's how it works without Layout Builder too.
Comment #23
tim.plunkettThanks for the work on this! All the additions are correct, just one spot:
This property is duplicated now, the first one can be removed
Same!
Comment #24
mark_fullmerWhoops! Duplication removed. All other changes are the same. Ready for re-review!
Comment #25
nord102Reviewed the interdiff and everything looks good!
Comment #26
alexpottWe've added a styleint plugin to core to make core's CSS property ordering correct. The new patch makes changes to the order that are not as per the standard.
You can work this out by running
yarn run lint:cssfrom the core directory. And can be fixed automatically by doingyarn run lint:css --fixThe patches attached are the result of doing that.
Comment #27
alexpottAdding credit to @tim.plunkett and @PCate for comments that had a material affect on the patch.
Committed and pushed 8ea7023787 to 8.8.x and 2d152f0c36 to 8.7.x. Thanks!