While using Admin toolbar search module along with Admin toolbar, on small screen sizes (xm). The search toolbar overlaps certain sections of the header like the breadcrumb

Before:

After:

CommentFileSizeAuthor
#42 after-patch-test.png23.07 KBdsandhya
#42 before-patch-test.png21.06 KBdsandhya
#39 3188407-39.patch614 bytesShubham Sharma 77
#39 Before-patch.png162.61 KBShubham Sharma 77
#39 After-patch.png117.45 KBShubham Sharma 77
#34 3188407-34.patch1.07 KBMunavijayalakshmi
#32 after_3188407.png30.86 KBMunavijayalakshmi
#32 before_3188407.png27.03 KBMunavijayalakshmi
#32 3188407-32.patch878 bytesMunavijayalakshmi
#30 3188407-30.patch437 bytesManibharathi E R
#29 3188407-29.patch436 bytesManibharathi E R
#28 3188407-28.patch1.85 KBManibharathi E R
#26 3188407-26.patch1.85 KBManibharathi E R
#25 3188407-25.patch1.84 KBManibharathi E R
#24 After-Patch-apply.png38 KBManibharathi E R
#24 Before-Patch-apply.png34.41 KBManibharathi E R
#24 3188407-24.patch932 bytesManibharathi E R
#23 Screen Shot 2022-07-19 at 7.18.50 PM.png62.27 KBsmustgrave
#22 3188407-Admin-Toolbar-Search-3.png94.23 KBHarish1688
#22 3188407-Admin-Toolbar-Search-2.png52.94 KBHarish1688
#22 3188407-Admin-Toolbar-Search.png62.48 KBHarish1688
#18 3188407--after--patch--pic.png31.91 KBvikashsoni
#18 3188407--before--patch--pic.png31.63 KBvikashsoni
#15 text_overlapping_issue_on_mobile-3188407-15.patch1002 bytesrevati_gawas
#12 AP 3188407 iPad.png209.2 KBchetanbharambe
#12 AP 3188407 S5.png268.37 KBchetanbharambe
#12 AP 3188407 iPhone.png199.99 KBchetanbharambe
#12 BP 3188407 iPhone.png269.15 KBchetanbharambe
#9 3188407.9.patch510 bytessakthivel m
#9 After-patch.png87.74 KBsakthivel m
#9 Before-patch.png91.79 KBsakthivel m
#6 3188407_after_2.png29.01 KBabhijith s
#6 3188407-after_1.png32.53 KBabhijith s
#5 After-patch.png20.03 KBbhumikavarshney
#5 before-patch.png18.98 KBbhumikavarshney
#4 3188407-4.patch520 bytesdjsagar
#4 Screen Shot 2020-12-15 at 1.33.08 PM.png48.98 KBdjsagar
Screen Shot 2020-12-15 at 12.09.36 PM.png423.49 KBdjsagar

Issue fork drupal-3188407

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

djsagar created an issue. See original summary.

djsagar’s picture

Issue summary: View changes
djsagar’s picture

Title: Text overlapping issue on mbile » Text overlapping issue on mobile
djsagar’s picture

Status: Active » Needs review
StatusFileSize
new48.98 KB
new520 bytes

After applied the patch which affected. and also affected the screen sort for the mobile view.

bhumikavarshney’s picture

StatusFileSize
new18.98 KB
new20.03 KB

Patch #4, seems working fine. Moving to RTBC +1. Added an after and before patch screenshot for reference.

abhijith s’s picture

StatusFileSize
new32.53 KB
new29.01 KB

Applied patch #4 and its not working.

After patch:
after1

after2

abhijith s’s picture

Status: Needs review » Needs work
anjalivijay’s picture

Assigned: Unassigned » anjalivijay
sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new91.79 KB
new87.74 KB
new510 bytes

#9 Please review the patch

djsagar’s picture

Assigned: anjalivijay » Unassigned
chetanbharambe’s picture

Assigned: Unassigned » chetanbharambe
chetanbharambe’s picture

StatusFileSize
new269.15 KB
new199.99 KB
new268.37 KB
new209.2 KB

Verified and tested patch #9.
Patch applied successfully and looks good to me.

Testing Steps:
# Goto: /admin/Content
# User should not see Text overlapping issue on responsiveness. (When the User installs the admin toolbar module, the Admin Toolbar Quick Search should not overlap.)

Looks good to me.
Can be a move to RTBC
Please refer attached screenshots for Before and After patch.

chetanbharambe’s picture

Assigned: chetanbharambe » Unassigned
Status: Needs review » Reviewed & tested by the community
lauriii’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs issue summary update

This increases the padding for all users, even those not using admin toolbar search which I think we don't want. Either way, I don't think this is specific to admin toolbar. Any set of toolbar configuration that makes the toolbar wrap into multiple lines would cause this issue.

revati_gawas’s picture

Status: Needs work » Needs review
StatusFileSize
new1002 bytes

Here is the clean patch against 8.9.x branch which solve the above issue. Can someone please review.
Thank you!

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
vikashsoni’s picture

StatusFileSize
new31.63 KB
new31.91 KB

Applied patch #9 applied successfully
Thanks for the patch
for ref sharing screenshot ....

kristen pol’s picture

@revati_gawas Can you figure out a way to do this without using !important?

It's barely used in the Seven theme and mostly for the print.css and the only place I see it used with position is in skip-link.css.

[drupal-10.0.x-dev/10.0.x] [seven]$ grep -r "\!important" .
./css/components/skip-link.css:  position: absolute !important;
./css/components/tabs.css:  max-height: none !important;
./css/components/tabs.css:  padding-top: 0 !important;
./css/components/views-ui.css:  border-right: 1px solid transparent !important;
./css/components/views-ui.css:  border-left: 1px solid transparent !important;
./css/components/views-ui.css:  background-color: #fe7 !important;
./css/components/views-ui.css:  background-color: #ffb !important;
./css/components/dropbutton.component.css:  width: auto !important;
./css/components/dropbutton.component.css:  border-radius: 20em !important;
./css/base/print.css:    color: #000 !important; /* Black prints faster: h5bp.com/s */
./css/base/print.css:    background-color: transparent !important;
./css/base/print.css:    box-shadow: none !important;
./css/base/print.css:    text-shadow: none !important;
./css/base/print.css:    max-width: 100% !important;
./css/base/print.css:    background: none !important;
./css/base/print.css:    margin: 0 4px !important;
./css/base/print.css:    border-radius: 4px 4px 0 0 !important;
kristen pol’s picture

Issue tags: +Bug Smash Initiative

Tagging for bugsmash.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Harish1688’s picture

As mention in the last comment (#21), 'Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch.'. Tested the module with (9.5.x-dev branch) and enable the search part. issue is resolved on mobile, tab and desktop also.
screenshot attached for reference

smustgrave’s picture

Status: Needs review » Needs work
StatusFileSize
new62.27 KB

Moving back to needs work based on the comment #19. Agree is there a way to do this without !important

Also is this theme specific? I tested on seven and did not notice the issue

Manibharathi E R’s picture

Status: Needs work » Needs review
StatusFileSize
new932 bytes
new34.41 KB
new38 KB

Adding Patch Against the 9.4.x.
Before Patch Apply
Before Patch
After Patch Apply
After Patch Apply

Manibharathi E R’s picture

StatusFileSize
new1.84 KB

Updated Patch.

Manibharathi E R’s picture

StatusFileSize
new1.85 KB
Manibharathi E R’s picture

Updated Patch #25.

Manibharathi E R’s picture

StatusFileSize
new1.85 KB

#26 Patch Updation.

Manibharathi E R’s picture

StatusFileSize
new436 bytes

Patch Updation

Manibharathi E R’s picture

StatusFileSize
new437 bytes

Patch Updation

Munavijayalakshmi’s picture

Assigned: Unassigned » Munavijayalakshmi
Munavijayalakshmi’s picture

StatusFileSize
new878 bytes
new27.03 KB
new30.86 KB
Munavijayalakshmi’s picture

Version: 9.4.x-dev » 9.5.x-dev
Status: Needs review » Needs work
Munavijayalakshmi’s picture

StatusFileSize
new1.07 KB

for testing purposes only.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
longwave’s picture

Component: Seven theme » toolbar.module

The Seven theme has been removed from Drupal 10 core. However, this issue appears to apply to the Toolbar module no matter which theme is used, so moving to the Toolbar module component.

ameymudras’s picture

Tested this on Drupal 9.5 and the issue seems to be only with the admin toolbar module particularly when admin_toolbar_search is used. If we don't use admin toolbar module the core toolbar module seems to be working without any issue on small screen size.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Shubham Sharma 77’s picture

Status: Needs work » Needs review
StatusFileSize
new117.45 KB
new162.61 KB
new614 bytes

Fixed failed commands on #34 and fixed this issue on the toolbar module.
Attached a patch against Drupal 10.1.x.
For ref sharing screenshots...

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs Review Queue Initiative

Issue summary update still needs to happen per #14

ameymudras’s picture

Issue summary: View changes
Issue tags: -Needs issue summary update
dsandhya’s picture

StatusFileSize
new21.06 KB
new23.07 KB

Verified and tested patch #39 for version 10.1.x-dev irrespective of themes this Patch applied successfully and looks good to me.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Needs work » Postponed

The Toolbar Module was approved for removal in #3476882: [Policy] Move Toolbar module to contrib.

This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.

The deprecation work is in #3484850: [meta] Tasks to deprecate Toolbar module and the removal work in #3488828: [meta] Tasks to remove Toolbar module.

Toolbar will be moved to a contributed project before Drupal 12.0.0 is released.