- Issue created by @goz
- 🇫🇷France goz
In the MR, i remove dashboard-active.svg part since mask automatically change color on active links.
- 🇫🇷France goz
After MR, active link in gin toolbar :
And not active :
And finally default toolbar :
- 🇮🇳India vinodhini.e chennai
Hi goz,
I have enabled the Gin and Dashboard modules and verified the changes.
After adding !important to the CSS in dashboard.icon.css, only then were the updates applied. Please see the attached screenshot for reference.Dashbaord.icon.css - file
.toolbar .toolbar-bar .toolbar-icon .toolbar-icon-system-dashboard::before,
.toolbar-tray .toolbar-icon-system-dashboard::before {
--icon: url("../icons/dashboard.svg");
mask-image: var(--icon) !important;
mask-size: contain;
background-color: currentColor;
mask-repeat: no-repeat;
mask-position: center;
}Thank you!
- 🇮🇳India divya.sejekan
I have enabled the Gin and Dashboard , but not able to reproduce this issue . After just enabling the module (i have not added any dashboard) i can see a square svg in my toolbar , unable to click. If i add dashboard , can see svg and menu link , this is happening without patch
After applying patch too its same.
Correct me if I am Wrong. Im using Drupal V-11.1.8 , Dashboard - V2.0.0
Steps Followed :
1. Install drupal 11 , Enabled Gin Admin theme
2. Install Dashboard module
3. Check sidebar tool - no dashboard added - image →
4. Check Sidebar - after adding dashboard - image →
5. Apply patch - no changes - 🇫🇷France quimic Paris
With:
- Drupal 11.2 (navigation enabled)
- Gin 5.0.2
- Gin Toolbar 3.0.1
The icon is still missing (the patch does not fix this)
- 🇫🇷France goz
Testing again, icon is missing with
- Drupal 11.2.2
- Dashboard 2.0.0
- Gin 4.0.6
- No Gin toolbar
- No toolbar
BUT navigation is now using icon API to display icons, so i suggest to do the same.
- 🇫🇷France Grimreaper France 🇫🇷
Hi,
Thanks for the MR.
I have tested it it works.
But I will create a new MR from 2.0.0 version because patch from current MR can't apply on it.
- 🇫🇷France Grimreaper France 🇫🇷
Maybe only needed to squashed commits on MR.
Here is a patch file from the other branch.
- Status changed to RTBC
about 1 month ago 8:33am 26 August 2025 - First commit to issue fork.
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
This is not specific to gin, and I verified it works with claro too.
Crediting everyone at 🐛 Dashboard icon missing from Navigation Active , which I closed as duplicated. The new approach with the icons api is superb!
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I verified that the icon still shows with the old toolbar too, and with gin 5.0.x branch and claro with navigation enabled and disabled.
-
penyaskito →
committed 1ff48b25 on 2.x authored by
goz →
Issue #3529744 by grimreaper, goz, penyaskito, vinodhini.e, divya....
-
penyaskito →
committed 1ff48b25 on 2.x authored by
goz →
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Such a small thing has been an absolute nightmare. Thanks everyone!