Problem/Motivation

I am using the module "Upgrade Status" to scan a few projects and I found some deprecated styling in the file themes/contrib/wxt_bootstrap/css/style.css:

Upgrade Status Run

According to this information, the selector #drupal-off-canvas is deprecated and should be replaced with the selector #drupal-off-canvas-wrapper in Drupal 10

#drupal-off-canvas-wrapper {
}

Steps to reproduce

- Install module "Upgrade Status" and run a scan against the project wxt_bootstrap

Proposed resolution

- Changes in the /sass/modules/_wxt.scss and /css/style.css to replace the deprecated CSS selector.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

danrod created an issue. See original summary.

danrod’s picture

Status: Active » Needs review
StatusFileSize
new89.07 KB
new133.99 KB

Attached a patch to fix this, after applying it, I ran the "Upgrade Status" module against the wxt_bootstrap project again and I don't see the warning any more:

Update Status Scan after the patch

I can also see that the styling for the CSS selector #drupal-off-canvas-wrapper is correctly applied now:

Styling for the Selector #drupal-off-canvas-wrapper

sylus’s picture

Status: Needs review » Needs work

Nice find :)

I don't see a patch attached though? Maybe was missed?

Thanks for finding this though!

danrod’s picture

Status: Needs work » Needs review
StatusFileSize
new1.52 KB

Oh sorry for this, must have missed it somewhere, here's the patch.

sylus’s picture

Status: Needs review » Fixed

Committed and attributed :)

Thanks so much!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.