Bug 40787

Summary: Plugins buttons misaligned when search box is enabled
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: TemplatesAssignee: Hammat wele <hammat.wele>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: caroline.cyr-la-rose, hammat.wele, philippe.blouin
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40787: Plugins buttons misaligned when search box is enabled
Bug 40787: Plugins buttons misaligned when search box is enabled

Description Caroline Cyr La Rose 2025-09-10 15:53:32 UTC
The buttons in the plugins home page ("Upload plugin" and "View plugins by class") become misaligned when you have the git repository search bar.

To recreate:
1. Go to Administration > Manage plugins
--> Page looks fine, buttons are aligned nicely

2. Add a github/gitlab repository in koha-conf.xml
  - In ktd shell, open /etc/koha/sites/kohadev/koha-conf.xml
  - Somewhere under <config> insert the following (or your own)

<plugin_repos>
  <repo>
   <name>Solutions inLibro</name>
   <org_name>inLibro</org_name>
   <service>github</service>
  </repo>
</plugin_repos>

  - Save the file
  - restart_all

3. Repeat step 1 (hard refresh page)
--> Buttons are misaligned
Comment 1 Hammat wele 2025-09-11 17:06:38 UTC Comment hidden (obsolete)
Comment 2 Hammat wele 2025-09-11 17:09:50 UTC
Created attachment 186378 [details] [review]
Bug 40787: Plugins buttons misaligned when search box is enabled

The buttons in the plugins home page ("Upload plugin" and "View plugins by class") become misaligned when you have the git repository search bar.

To test:

1. Add a github/gitlab repository in koha-conf.xml
  - In ktd shell, open /etc/koha/sites/kohadev/koha-conf.xml
  - Somewhere under <config> insert the following (or your own)

<plugin_repos>
  <repo>
   <name>Solutions inLibro</name>
   <org_name>inLibro</org_name>
   <service>github</service>
  </repo>
</plugin_repos>

  - Save the file
  - restart_all

2. Go to Administration > Manage plugins
--> Buttons are misaligned

3. Apply the patch

4. Run command « yarn build »

5. Repeat step 2
--> buttons are aligned nicely
Comment 3 Caroline Cyr La Rose 2025-09-11 18:03:52 UTC
I can't sign off since I work with Hammat, but it works for me.