Problem/Motivation
There are some styling in Gin theme related to project browser.We want to move that into the project browser's scope so that we have full control of things, thus eliminating dependencies.
Steps to reproduce
web/themes/contrib/gin/dist/css/components/project_browser.css
is the file present in Gin which is responsible for some of the styling when gin is enabled.
Proposed resolution
Move the
web/themes/contrib/gin/dist/css/components/project_browser.css
file in PB directory.
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 3505700-18.png | 7.95 KB | phenaproxima |
Issue fork project_browser-3505700
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 #3
utkarsh_33 commentedOnce we verify that the changes are we can ask the Gin theme maintainers to remove the styles from gin theme.I'll mark it NR and will request @chrisfromredfin or @phenaproxima to take further decisions.
Comment #4
utkarsh_33 commentedAlso adding Status icon and maintenance icon are of different size in Gin theme. for reference as this was brought up from the comment.
I think this will also make things more simpler for The Svelte code should not have custom logic for the Gin theme if i am not wrong.
Comment #5
phenaproximaDoesn't seem problematic to me, although I do have one question. Also, certain lint checks are failing, so kicking this back for that.
I think we might want to wait until Gin removes their styling and tags a new release (I can ask @saschaeggi to do this), and then we can conflict with any version of Gin older than that one.
Comment #6
utkarsh_33 commentedLoading the CSS related to Gin conditionally as requested.Also the CI is Green so marking it NR again.
Comment #7
utkarsh_33 commentedMerged the latest changes.
Comment #8
phenaproximaI think that looks pretty good, just a few small changes.
Comment #9
utkarsh_33 commentedAddressed the feedbacks.
Comment #10
phenaproximaComment #11
phenaproximaComment #12
phenaproximaComment #13
saschaeggiPlease see https://git.drupalcode.org/project/gin/-/merge_requests/588 in Gin #3508067: Remove Project Browser-specific styling
Comment #14
phenaproximaPostponing on #3508067: Remove Project Browser-specific styling.
Comment #15
phenaproximaLet's get this up to date and conflict with any version of Gin older than 4.0.6.
Comment #16
saschaeggiLet me know if anything else is needed to get this over the finish line 🤝
Comment #17
phenaproximaComment #18
phenaproximaThis seems to work as intended with Gin 4.0.6, but the new drop-button alignment isn't great:
I would not consider this a blocker, but maybe we can quick-fix this now.
Comment #21
chrisfromredfinThat'll do pig, that'll do.