
Problem/Motivation
Tour module popup close button size is too small. In Umami, the size of close button is larger and seems like a more reasonable size.
Olivero:
Umami:
Steps to reproduce
- Install Drupal with Umami Demo profile.
- Switch default theme to Olivero.
- Go to home page.
- Click on tour link in upper right.
- Result: The close button is quite small.
- Expected: Close button would be bigger and more similar to the Umami Demo theme size.
Proposed resolution
Increase the size to be more similar to Umami.
Remaining tasks
Create patchReview patchTest patch- Commit
User interface changes
Close button will be larger.
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#11 | Screenshot 2022-02-23 at 5.16.49 PM.png | 1 MB | Satyajit1990 |
#10 | After patch.png | 110.76 KB | Satyajit1990 |
#10 | Before patch.png | 114.14 KB | Satyajit1990 |
#6 | 3256003-6.patch | 796 bytes | ranjith_kumar_k_u |
#5 | 3256003-5.patch | 392 bytes | andregp |
Comments
Comment #2
andregp CreditAttribution: andregp at CI&T commentedI'll work on this issue
Comment #3
andregp CreditAttribution: andregp at CI&T commentedHere's a simple patch to solve this issue.
Comment #4
andregp CreditAttribution: andregp at CI&T commentedFixing coding standards.
Comment #5
andregp CreditAttribution: andregp at CI&T commentedI keep getting the error
No files matching the pattern "/var/www/html/core/themes/olivero/css/components/tour.css" were found.
on the tests above (#3 and #4). So instead of creating a new file for the custom style, I just added it to a file that already exists.(I'm not providing an interdiff as it's a completely different approach.)
Comment #6
ranjith_kumar_k_u CreditAttribution: ranjith_kumar_k_u at Zyxware Technologies commentedComment #7
andregp CreditAttribution: andregp at CI&T commented@ranjith_kumar_k_u the olivero.libraries.yml only loads the button.css file not the button.pcss.css so why did you change it too on your patch? What does you patch do differently from the previous one?
When providing a new patch It's a good practice to explain the reason so the community can know what you're trying to fix.
Comment #8
kristen pol@andregp I thought that the
pss.css
files were used to generate the.css
files which is why the:is at the top of the
.css
files. No? But, I haven't done much frontend dev in a long time and have only worked with Sass/Less before.Tagging for testing since tests are passing.
Patch applies cleaning to Drupal 9.3 and 9.4 and with offsets for Drupal 10:
Comment #9
kristen polAdded testing notes. Also tagging for the issue summary to be cleaned up such as using the issue summary template.
Comment #10
Satyajit1990 CreditAttribution: Satyajit1990 at Material for Salsa Digital commentedHi @Kristen Pol,
Verified with Patch #6
Version - 9.4
Theme - Olivero
Testing result : Now Close button is bigger and more similar to the Umami Demo theme size.
Note : Patch file is not working on 9.3
Comment #11
Satyajit1990 CreditAttribution: Satyajit1990 at Material for Salsa Digital commentedComment #12
kristen polThanks for testing @Satyajit1990. You don't have to include files of simplytest.me or DrupalPod not working.
But, I have found out from @catch that when the patch applies to more than one version, we can just test on 9.4 or 10, i.e. we don't have to test on all versions... just ones with different MRs/patches.
Assuming this CSS approach is okay, all that's needed is the issue summary update.
Comment #13
kristen polUpdated the issue summary to use the template. Marking RTBC based on the above.
Comment #16
lauriiiCommitted c606891 and pushed to 10.0.x. Also cherry-picked to 9.4.x. Thanks!