Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Olivero: Header is breaking in mobile screen's when site name is two-liner.
Adding a screenshot for reference.
Comment | File | Size | Author |
---|---|---|---|
#12 | 3211622 mobile.png | 39.04 KB | rikki_iki |
#12 | 3211622 tablet.png | 74.98 KB | rikki_iki |
#11 | interdiff-9-11.txt | 2.22 KB | mherchel |
#11 | 3211622-11.patch | 2.28 KB | mherchel |
#10 | After Patch 3211622 Android up.png | 521.68 KB | chetanbharambe |
Comments
Comment #2
Gauravvvv CreditAttribution: Gauravvvv at OpenSense Labs commentedI have attached a patch. Please review.
I have attached an after-patch screenshot with the site logo and name.
Comment #3
Gauravvvv CreditAttribution: Gauravvvv at OpenSense Labs commentedComment #4
Abhijith S CreditAttribution: Abhijith S as a volunteer and at Zyxware Technologies commentedApplied patch #2 and it works fine. Adding screenshots below.
Before patch;
After patch:
RTBC +1
Comment #6
chetanbharambe CreditAttribution: chetanbharambe at QED42 for Drupal India Association commentedVerified and tested patch #2.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: Home Page on Responsiveness devices
# User is able to see the site name
# Go to Appearance -> Olivero setting -> Upload the logo
# Go to Home Page -> Inspect element and add 2 liner site name
# User is able to see Header and Logo are breaking when site name is two-liner.
Expected Results:
# User should not see breaking Header and logo when site name is two-liner.
Actual Results:
# User is able to see Header and Logo are breaking when site name is two-liner.
Looks good to me.
Can be a move to RTBC.
Comment #8
mherchelVerified this issue exists.
Comment #9
kiran.kadam911Thanks, @Gauravmahlawat for the patch.
Re-rolled patch #2 for 9.3.x
Thanks!
Comment #10
chetanbharambe CreditAttribution: chetanbharambe at QED42 for Drupal India Association commentedVerified and tested patch #9.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: Home Page on Responsiveness devices
# User is able to see the site name
# Go to Appearance -> Olivero setting -> Upload the logo
# Go to Home Page -> Inspect element and add 2 liner site name
# User is able to see Header and Logo are breaking when site name is two-liner.
Expected Results:
# User should not see breaking Header and logo when site name is two-liner.
Actual Results:
# User is able to see Header and Logo are breaking when site name is two-liner.
Please refer attached screenshots.
Looks good to me.
Can be a move to RTBC.
Comment #11
mherchelThanks for the work on this!
The current patch only fixed the issue at the smallest breakpoint. The changes in this patch fix the issue at tablet-sized breakpoints as well as remove the unnecessary
height: auto;
Tugboat preview at https://3211622-header-text-bnampkxdogbtmk5ff6a0gwpxbv1jjty2.tugboat.qa/
Comment #12
rikki_iki CreditAttribution: rikki_iki at PreviousNext commentedLatest patch looks great. Confirming it works for both mobile and tablet sizes (screenshots attached) with quite a large amount of text in there.
Marking RTBC
Comment #14
Gauravvvv CreditAttribution: Gauravvvv at OpenSense Labs commentedRestoring status, unrelated failure.
Comment #16
lauriiiCommitted df024ac and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!