Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2020 at 21:59 UTC
Updated:
9 Nov 2020 at 15:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
riccardor commentedProvided patch changes the line as follows:
{{ attach_library('olivero/node') }}Comment #3
steinmb commentedDoes not seem right. Patch apply cleanly
And addresses the issue. RTBC
Comment #4
mherchelThis still needs to be addressed.
Comment #5
kishor_kolekar commentedplease review the patch.
Comment #6
steinmb commentedThe patch apply correctly though I have a question:
When I look in
core/themes/olivero/olivero.libraries.ymlI do not seenode:library defined. Am I confused (as usual)?Comment #7
mherchelYou are correct. There is no
olivero/nodelibrary.Comment #8
steinmb commentedQuick one liner.
Comment #9
mherchelThis is correct, however the classy/node library references one CSS file which contains one CSS rule that we need to duplicate in Olivero:
We need to add this to our node.pcss.css file, and add a comment stating that there is no variable for this color.
Comment #10
hansa11 commentedComment #11
hansa11 commentedPatch details:
Removed the classy library from Olivero's node.html.twig
Added the required CSS in node.pcss.css
Please review.
Comment #12
mherchelThis is looking soooo close!
Need to insert a space before the beginning and after the end of the comment. Also need to add a period at the end of the sentence.
We need to apply coding standards to the comment (https://www.drupal.org/docs/develop/standards/css/css-formatting-guideli...)
Comment #13
hansa11 commented@mherchel: Thank you for the review.
Updated the patch as per your suggestion, please review.
Thanks!
Comment #14
hansa11 commentedComment #15
mherchelThis looks good to me. Thanks!
Comment #16
alexpottCommitted and pushed bf29675611 to 9.2.x and 7d8ea2dccb to 9.1.x. Thanks!