[PR #1461] [MERGED] fix code element's text centering (vertically) #1422

Closed
opened 2026-10-18 21:31:21 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/docs/pull/1461
Author: @noamp09
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @Classic298

Base: main ← Head: fix-code-centering


📝 Commits (1)

  • 6744d0b fix code element's text centering (vertically)

📊 Changes

1 file changed (+20 additions, -1 deletions)

View changed files

📝 src/css/custom.css (+20 -1)

📄 Description

Summary

currently, there is a centering bug in the docs page
image
the issue was fixed by editing ".shiki-code-block pre" in the custom css file. now it is fixed, looking like this:
image

  • [ x] I have reviewed the relevant documentation and matched the existing style.
  • [ x] This PR meets Open WebUI's contribution standards: it is accurate, relevant to users, narrowly scoped, maintainable, and not promotional content, advertising, lead generation, SEO placement, or a request to list a product, service, provider, integration, gateway, tool, or company primarily for visibility.
  • [ x] I understand that PRs that do not meet these standards may be closed without review and will not be merged. Repeated, low-quality, off-topic, promotional, or intentionally misleading submissions may result in the contributor being blocked from future participation in Open WebUI repositories.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/docs/pull/1461 **Author:** [@noamp09](https://github.com/noamp09) **Created:** 10/12/2026 **Status:** ✅ Merged **Merged:** 10/12/2026 **Merged by:** [@Classic298](https://github.com/Classic298) **Base:** `main` ← **Head:** `fix-code-centering` --- ### 📝 Commits (1) - [`6744d0b`](https://github.com/open-webui/docs/commit/6744d0b1e21f1e099588c6557c9072167baca162) fix code element's text centering (vertically) ### 📊 Changes **1 file changed** (+20 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/css/custom.css` (+20 -1) </details> ### 📄 Description ## Summary currently, there is a centering bug in the docs page <img width="397" height="112" alt="image" src="https://github.com/user-attachments/assets/3cb9dd88-c5ed-49eb-941c-0f65987c8ea8" /> the issue was fixed by editing ".shiki-code-block pre" in the custom css file. now it is fixed, looking like this: <img width="372" height="111" alt="image" src="https://github.com/user-attachments/assets/81f45dd9-2372-4faf-b13a-afcf4ab7772a" /> - [ x] I have reviewed the relevant documentation and matched the existing style. - [ x] This PR meets Open WebUI's contribution standards: it is accurate, relevant to users, narrowly scoped, maintainable, and not promotional content, advertising, lead generation, SEO placement, or a request to list a product, service, provider, integration, gateway, tool, or company primarily for visibility. - [ x] I understand that PRs that do not meet these standards may be closed without review and will not be merged. Repeated, low-quality, off-topic, promotional, or intentionally misleading submissions may result in the contributor being blocked from future participation in Open WebUI repositories. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:31:21 +00:00
Sign in to join this conversation.
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
open-webui/docs#1422
No description provided.