Closed (fixed)
Project:
Olivero
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
17 Jun 2020 at 05:52 UTC
Updated:
21 Oct 2020 at 02:54 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
himanshu_sindhwani commentedComment #3
himanshu_sindhwani commentedComment #4
ramya balasubramanian commentedComment #5
ramya balasubramanian commentedHi @himanshu,
I have applied the patch and please review.
Few Notes:
1) I need to give padding is 2px where we have this --sp0-25: calc(0.25 * var(--sp)); which is equal to 4.5 so it is not suitable for me. So I have added 2px directly
2) Then we need to add some space between the icon and the word 'Toggle Branding'. Currently, the padding was given like
#drupal-off-canvas summary {
padding: 10px 20px ( If we change it into 25px it will look good).
}
But this file is a core file and we need to override this file which was already done in this https://www.drupal.org/project/olivero/issues/3149863. So I didn't adjust the space for now.
Before patch:
After Patch
Comment #6
steinmb commented@mherchel created a dev. We can now lock it to dev. instead the releases. Make it easier to roll/commit changes.
Comment #7
poojakural commentedThanks @ramya for attaching the patch . Tested worked for me. I got one more issue. When click on "Toggle branding block" arrow is not aligned. Please refer the SS.
Actual Issue:

Tested Actual Issue:

New Issue found:

Excepted Behaviour for new issue:

Please change the css:
Change this
[dir=ltr] .olivero-details[open] > .olivero-details__summary::before, [dir=ltr] .collapse-processed[open] > .olivero-details__summary .details-title::before {
transform: rotate(90deg);
}
To this
[dir=ltr] .olivero-details[open] > .olivero-details__summary::before, [dir=ltr] .collapse-processed[open] > .olivero-details__summary .details-title::before {
transform: rotate(45deg);
}
Comment #8
ramya balasubramanian commentedComment #9
ramya balasubramanian commentedHi @poojakural,
Thanks for your review. Added the patch again, Please have a look.
After Patch:
Comment #10
kiran.kadam911Hello @Ramya Balasubramanian,
Patch #9 working as expected.
Screenshot:
Thanks!
Comment #11
komalk commented@Ramya Balasubramanian
Please try to fix the linting errors. Please have a look at the screenshot.
Comment #12
ramya balasubramanian commentedComment #13
ramya balasubramanian commentedHi @komalkolekar,
Thanks. Updated the patch.
Comment #14
ramya balasubramanian commentedComment #15
pradeepjha commentedHi @Ramya Balasubramanian
We should use color variable. Please check similar ticket for help https://www.drupal.org/project/olivero/issues/3151405#comment-13702362.
You might need to re-compile your code after that.
Comment #16
ramya balasubramanian commentedComment #17
ramya balasubramanian commentedHi @pradeepjha,
I have addressed your comment. Please have look at this patch.
Comment #18
ramya balasubramanian commentedComment #19
steinmb commentedComment #20
manojithape commentedWorking on the issue
Comment #21
mherchelI like the approach of using border instead of an inline SVG.
Here's a working patch using the SVG approach. I'm going to mess with it a bit more.
Comment #22
mherchelHere's a version of the patch that uses borders to form the chevron (similar to #17).
I tested this in both the settings tray and in regular details form. I also tested in RTL mode.
Still need to do cross browser and Windows High Contrast testing.
Comment #23
mherchelThe previous patches were all jacked up in Safari. I opened a bug within webkit (https://bugs.webkit.org/show_bug.cgi?id=217378)
This patch works great in all browsers (including IE in High Contrast mode), with the exception of the settings tray within IE.
Comment #24
mherchelThis patch fixes even more cross browser bugs in FF and IE
Comment #26
mherchelDid some additional testing. This is as good as it's going to get. Committing.