CSS library unnecessary; use core nowrap class

Created on 7 September 2023, 10 months ago

Problem/Motivation

Module include a library just to "nowrap" the password. There is a core "nowrap" class which does the same thing.

Seems that this was accidentally ported to new version and has continued on, but was actually removed from the 7.x-1.x branch back in #2345979: CSS should not be added with hook_init β†’

Steps to reproduce

Install module. Included on every page.

Proposed resolution

Add "nowrap" class to all instances of "genpass-password" usage, but leave existing class in case it has been overridden by a theme somewhere. Remove the CSS library and hook_page_attachments().

Remaining tasks

  • βœ… File an issue
  • βœ… Addition/Change/Update/Fix
  • βœ… Release notes snippet
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Genpass no longer includes a nowrap class and CSS file itself, instead using core's version.
πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia ELC

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024