Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
Umami demo
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Mar 2019 at 18:57 UTC
Updated:
19 Apr 2019 at 05:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
tim.plunkettComment #3
bnjmnmPatch + screenshots
Comment #4
gábor hojtsyIf this is the right patch, we need an RTL version for this I think(?)
Comment #5
tim.plunkettI would expect this to unset the `background` set for .messages by Layout Builder and then to add the `background-image` directly to
.layout-builder__message--defaults .messages__contentwithin Umami.Then there's no need for the background-position change
Comment #6
kjay commentedAs per the review by @tim.plunkett, here's a patch that updates the patch in #3 to unset the default background image for status messages and applies the same globe icon from core using the inner content wrapper, as we do across Umami.
Also added the standard opening comment we have been using for each stylesheet.
Looks like the following when applied. Once #3044250: Make the highlighted region in Umami more flexible so it adapts to its use with Layout Builder and could be used to demonstrate placement of other blocks gets in, the message will include margin bottom and not be positioned up against the layout builder area.
Comment #7
gábor hojtsy@kjay: are the buttons smashing into each other in RTL a pre-existing problem or introduced here?
Comment #8
shaal@gaborhojtsy I think it is because of missing css rules in Umami, which is resolved in a separate issue -
https://www.drupal.org/project/drupal/issues/3044366#comment-13053807
Comment #9
kjay commented@gabor, Yes, as @shaal says and has shared the link to the issue that fixes the button layout.
Comment #10
tim.plunkettThere are two icons, one for defaults and one for overrides. This patch makes both use the one for defaults
Comment #11
shaalI added the missing icon mentioned in #10
I tested the patch on IE11 + RTL (works great)

Comment #12
shaalOops. I missed the overrides' icon override :)
In order to see the Layout Builder's override-icon:

Go to:
Structure > Content Types > Recipe > Manage Display > Default (view-mode)
Enable:
Use Layout Builder,Allow each content item to have its layout customizedThis patch is fixing it (with screenshots as a proof)
Icon of message-defaults:

Icon of message-overrides:

Comment #13
tim.plunkettThanks! This works as expected, and the patch is correct
Comment #14
gábor hojtsyDoes not apply on 8.8.x unfortunately.
Comment #17
gábor hojtsyI opted to fix that locally, it was a line offset problem in the libraries.yml only. Thanks all.