fix: 修复UI文字横向显示问题,改为纵向布局
- 将 uiLayer.style.display 从 'flex' 改为 'block' - 确保标题和副标题垂直堆叠显示 - 修复用户反馈的文字左右排列问题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -124,7 +124,7 @@ class App {
|
|||||||
this.mapInterface.style.opacity = '0';
|
this.mapInterface.style.opacity = '0';
|
||||||
|
|
||||||
// 重置UI层和提示文字的状态
|
// 重置UI层和提示文字的状态
|
||||||
this.uiLayer.style.display = 'flex';
|
this.uiLayer.style.display = 'block';
|
||||||
this.hint.style.display = 'block';
|
this.hint.style.display = 'block';
|
||||||
// 不设置 opacity,让GSAP的 fromTo() 控制
|
// 不设置 opacity,让GSAP的 fromTo() 控制
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user