Skip to content

Fix squished radio buttons / checkboxes for multi-line answers#7820

Merged
donnapep merged 2 commits intotrunkfrom
fix/distorted-radio-buttons
Apr 27, 2025
Merged

Fix squished radio buttons / checkboxes for multi-line answers#7820
donnapep merged 2 commits intotrunkfrom
fix/distorted-radio-buttons

Conversation

@donnapep
Copy link
Copy Markdown
Member

@donnapep donnapep commented Apr 27, 2025

Resolves #7819.

Proposed Changes

  • Fixes the squished radio buttons / checkboxes for multi-line answers
  • Adjusts the line height so the text is not so tight

Testing Instructions

  1. Add a quiz with a multiple choice question where some answers span multiple lines.
  2. View the quiz with both Learning Mode enabled and not.
  3. Ensure the radio button / checkbox for the long answer isn't squished.

Learning Mode

Screenshot 2025-04-27 at 5 13 01 PM

Screenshot 2025-04-27 at 5 20 29 PM

Non-Learning Mode

Screenshot 2025-04-27 at 5 12 54 PM

Pre-Merge Checklist

  • PR title and description contain sufficient detail and accurately describe the changes
  • Adheres to coding standards (PHP, JavaScript, CSS, HTML)
  • All strings are translatable (without concatenation, handles plurals)
  • Follows our naming conventions (P6rkRX-4oA-p2)
  • Hooks (p6rkRX-1uS-p2) and functions are documented
  • New UIs are responsive and use a mobile-first approach
  • Code is tested on the minimum supported PHP and WordPress versions

Also adjust the line height so it's not so tight.
@donnapep donnapep added this to the 4.25.1 milestone Apr 27, 2025
@donnapep donnapep self-assigned this Apr 27, 2025
@donnapep donnapep merged commit 72138c6 into trunk Apr 27, 2025
20 of 21 checks passed
@donnapep donnapep deleted the fix/distorted-radio-buttons branch April 27, 2025 21:39
@m1r0
Copy link
Copy Markdown
Member

m1r0 commented Apr 28, 2025

Thanks, Donna! 🫶

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple choice radio buttons stretched for long answers in learning mode

2 participants