FAQ Answer Box Text Cut-Off Issue #2

Closed
opened 2024-11-16 10:38:18 +00:00 by revengeday · 1 comment
Owner

Currently, the height of the FAQ answer boxes is set to a fixed value, which leads to text being cut off, preventing users from reading the full answers. To resolve this issue, the height in the faq-answer class should be adjusted to allow dynamic expansion based on content length.

Steps to Reproduce:

  1. Navigate to the FAQ section of the website.
  2. Click on any question to reveal its answer.
  3. Observe that the text within the answer box is cut off due to the fixed height.

Expected Behavior:
The FAQ answer boxes should expand dynamically to accommodate the full length of the text without being cut off.

Proposed Solution:
Update the CSS for the answer boxes as follows:

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 100%;
    padding: 15px;
}
Currently, the height of the FAQ answer boxes is set to a fixed value, which leads to text being cut off, preventing users from reading the full answers. To resolve this issue, the height in the `faq-answer` class should be adjusted to allow dynamic expansion based on content length. Steps to Reproduce: 1. Navigate to the FAQ section of the website. 2. Click on any question to reveal its answer. 3. Observe that the text within the answer box is cut off due to the fixed height. Expected Behavior: The FAQ answer boxes should expand dynamically to accommodate the full length of the text without being cut off. Proposed Solution: Update the CSS for the answer boxes as follows: ```css .faq-checkbox:checked + .faq-question + .faq-answer { max-height: 100%; padding: 15px; } ```
Author
Owner

Fixed c81eda13f7

Fixed https://git.cyberwa.re/revengeday/cyber-circle-creator/commit/c81eda13f755183e2f26f5550913dcac2ba5ca2a
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: revengeday/cyber-circle-creator#2
No description provided.