Closed (fixed)
Project:
Claro
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2019 at 13:50 UTC
Updated:
5 Jun 2019 at 10:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
huzookaRe:
That should change only vertical margins, so we'll replace it with
margin-top: [something];andmargin-bottom: [something];as the part of the issue #3023309: Accordion/Sidebar style update.Comment #3
huzookaComment #4
duneblThis will be very nice!!
Comment #5
lauriiiThis is a pre-existing bug in core. We should open an issue to the Drupal Core issue queue as well.
Comment #6
fhaeberleCould not reproduce the bug on /node/edit but corrected the spacing of the checkbox on the extension page which is removed to an rtl improvement on the table. It works now with rtl/ltr and the correct spacings.
Comment #7
duneblPatch is very nice but have no effect as it apply on the src folder and not on the dist folder.
Looking at the generated code, it is the dist folder which is used
<link rel="stylesheet" media="all" href="/themes/contrib/claro/css/dist/components/system-admin--modules.css?proyag" />As a side note, I have no clue why there is such duplication of code:
/drupal_root/themes/contrib/claro/css/src/componentsBut when applying on the dist tree, the bug is fixed.
Regarding
node/edit, you are right, the bug seems corrected with the last version.Comment #8
lauriii@DuneBL Patch in #6 has been generated correctly. We use PostCSS to provide support for legacy browsers. More information can be found in the documentation.
Comment #9
fhaeberle@DuneBL I would suggest using an Code Editor like VS Code (feels good for frontend work) which shows you which files are modified/ignored by git to better understand a repository. You would then see that the /dist folder is hidden by git which means that you shouldn't normally edit it because it's ignored by cause. Would be great if somebody can review my changes in the patch.
Comment #10
duneblThank you for the explanation...
I assume that I must run
yarn build:cssto get the change in the dist folder.This is not the topic, but when doing this, I got the following error:
Anyway, I have manually copied the change in the dist folder, and the bug is fixed.... But maybe it is better to use yarn.
Comment #11
lauriii@DuneBL I'm happy to help to solve that. Could you either ping me on Slack or open a support request in the Claro issue queue?
Comment #12
duneblComment #13
huzookaRe #6:
Nitpick: add comment /* LTR */ here.
Comment #14
fhaeberleAdding the code comment suggested in #13.
Comment #15
fhaeberleComment #16
huzookaThis is an unresolved conflict, please fix it!
Comment #17
fhaeberleSorry for that mistake. Should be resolved now.
Comment #18
fhaeberleComment #19
lauriii@fhaeberle it seems like there's some additional output in your patch. Please make sure to read the instructions on how to generate a patch for Drupal.
Comment #20
fhaeberleSorry, I'm new to drupal contributing with the patch workflow. A bit confused about the possibilities here. Thanks for pointing me to the right source. I see, I provided a multi-patch, but we require a normal patch here. Here it is. :)
Comment #21
lauriii@fhaeberle thank you! The patch looks better now!
Would it be possible to get a before and after screenshot? I'm not sure if I can reproduce the problem anymore.
Comment #22
fhaeberleFor sure. Provided screenshots for the problem, screenshots are made with the mobile view but does also appear on the larger desktop viewport. Both ltr/rtl.
Comment #23
huzookaI think that #20 is fine.
Comment #25
lauriiiCommitted and pushed. Thank you!