Problem/Motivation

On the /admin/config/user-interface/text_resize form, "Minimum Line-Height" and "Maximum Line-Height" are presented even when the user has not checked "Allow Line-Height Adjustment"

Proposed resolution

Show "Minimum Line-Height" and "Maximum Line-Height" only if the user sets "Allow Line-Height Adjustment"

Command icon 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

vitaliyb98 created an issue. See original summary.

vitaliyb98’s picture

Assigned: vitaliyb98 » Unassigned
Status: Active » Needs review
vinodhini.e’s picture

Hi, Tested this issue on Drupal 10.5.1 and was able to reproduce the issue:

"Minimum Line-Height" and "Maximum Line-Height" fields are displayed even when "Allow Line-Height Adjustment" is not enabled.

Applied MR !16:

The fields are now shown only when "Allow Line-Height Adjustment" is checked.
UI behavior is working as expected.

The fix works correctly. Thanks.

vinodhini.e’s picture

Status: Needs review » Reviewed & tested by the community

  • eeca38eb committed on 8.x-1.x
    feat: #3581649 Small UI improvements in config form
    
vitaliyb98’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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