mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6737] [Bug]: Geodata Auto-Update buttons overflow the window in Russian interface #4489
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4489
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @djoker0726-ui on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6737
Describe the bug
In the Overview section, when clicking the Xray version in the top-left corner and expanding Geodata Auto-Update, the Add file and Use Standard sources buttons extend beyond the boundaries of the window when the panel interface language is set to Russian.
The same interface is displayed correctly when the panel language is set to English.
The issue is reproducible in Firefox at 100% zoom, including in a private window.
How to reproduce the problem
Expected behavior
The Add file and Use Standard sources buttons should remain within the boundaries of the Geodata Auto-Update window regardless of the selected interface language.
Actual behavior
When the interface language is set to Russian, the Add file and Use Standard sources buttons extend beyond the boundaries of the Geodata Auto-Update window. When the interface language is set to English, the buttons are displayed correctly.
Relevant logs
Screenshots
3x-ui version
3.9.0
Xray-core version
26.6.27
How did you install 3x-ui?
Docker / Docker Compose
Operating system
Ubuntu 22.04.5 LTS
Which parts of the panel are affected?
Frontend (UI / panel pages)
Browser (only if it is a UI bug)
Firefox 157.0
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Oct 5, 2026):
Confirmed: the three buttons under Geodata Auto-Update sit in a flex row that cannot wrap. With the longer Russian labels the row is wider than the modal, so the buttons spill out of it. It is a layout defect that only shows with longer translations. Nothing is broken functionally: all three buttons still work if you scroll or widen the window.
The buttons are rendered in
frontend/src/pages/index/GeodataSection.tsx:226-239:The styling for
.actions-rowcomes fromfrontend/src/pages/index/VersionModal.css:26-30:It has no
flex-wrapand nogap. The host<Modal>inVersionModal.tsx:104sets nowidth, so it uses Ant Design's default width. The Russian strings are much longer than the English ones (internal/web/translation/ru-RU.json:236-238vsen-US.json:236-238):"Use standard sources"→"Использовать штатные источники""Save & Restart Xray"→"Сохранить и перезапустить Xray"The English row fits inside the modal, but the Russian one does not. The middle button was added in
d600de2c"feat(geodata): add standard source presets (#6504)", first released in v3.8.0. Before that the row held only two buttons.Workaround: switch the panel language to English while you edit Geodata Auto-Update, or make the browser window or zoom level smaller so the buttons can be reached.
Verdict: Confirmed bug
Severity: Low
Confidence: High
Root cause:
.actions-row(frontend/src/pages/index/VersionModal.css:26-30) is a non-wrapping flex row, andGeodataSection.tsx:226-239puts three buttons in it. Long labels (ru-RU, and likely other long locales) are wider than the default-width modal atVersionModal.tsx:104. The third button came in withd600de2c(#6504).Already fixed: No. Still present on the default branch.
Duplicate of: None
Evidence:
GeodataSection.tsx:226-239(three buttons insideactions-row);VersionModal.css:26-30(display: flex; justify-content: flex-end;, noflex-wrap);VersionModal.tsx:104(<Modal ... footer={null}>with nowidth);ru-RU.json:236-238vsen-US.json:236-238(label lengths).Not determined: I could not view the screenshot or render the panel, so I can't say which other locales also overflow. Opening the same section in each language would show which ones do.
Suggested fix: Add
flex-wrap: wrapand agapto this button row (or use Ant Design<Space wrap>), so long labels drop onto a second line and stay inside the modal.This reply was generated automatically; a maintainer may follow up.