Problem/Motivation
After enable the admin toolbar module with gin theme, in top navigation Local Task menu item alignment not matched with other menu item. Need to keep same theme to all like - shortcut's, admin items list.
Steps to reproduce
- Install the gin theme and admin toolbar module
- navigate to top navigation -> local task menu item -> hover -> menu item right align
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3355036-with-patch.png | 182.33 KB | martijn de wit |
| #8 | 3355036-with-bug.png | 192.42 KB | martijn de wit |
| #6 | gin-n3355036-6.patch | 762 bytes | galactus86 |
| #3 | after.png | 30.32 KB | tanuja bohra |
| #3 | before.png | 23.58 KB | tanuja bohra |
Issue fork gin-3355036
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Harish1688 commentedHi,
Created a patch for this issue, please review the patch Local-Task-menu-item-alignment-3355036-1.patch .
After patch image attached.
Comment #3
tanuja bohra commentedThis patch is working, the menu items are now aligned to the left. Moving it to RTBC.
Comment #4
galactus86 commentedI had this on my list to tackle... nice work! Verified the patch works!
Comment #5
galactus86 commentedWhile initial test works, when reviewing the code I see that the dist/.css file was changed NOT the .scss file. So next time anyone compiles the CSS this change will be lost.
I'm going to take a few minutes and update.
Comment #6
galactus86 commentedUpdated the toolbar_secondary.scss file instead so it compiles correctly and won't get over written in the future. I also removed the float as a best practice.
Patch attached for review.
Comment #8
martijn de witUnsetting the float is a neater solution, then adding extra styling.
Using patch #6
The bug in our case:
With the patch:
thnx!
Comment #10
saschaeggiGreat, thanks y'all!
Comment #11
saschaeggiComment #12
sahal_va commented