fix: 修复PC端搜索框不显示的问题
- 将 'hidden md:block' 改为 'w-0 md:w-1/3' - 添加 'overflow-hidden md:overflow-visible' - 在flex容器中使用宽度控制代替display控制 - 确保搜索框在PC端正常显示 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -765,7 +765,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 中间:搜索框(PC端) -->
|
||||
<div class="relative w-1/3 hidden md:block">
|
||||
<div class="relative w-0 md:w-1/3 overflow-hidden md:overflow-visible">
|
||||
<input type="text" id="search-input" placeholder="搜索省份、城市、企业..." class="search-input w-full py-2 px-5 rounded-full text-center text-sm placeholder-gray-400">
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user