Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[UI] Search bar is clipped on mobile viewports on the Kanvas documentation page

未关闭 适合新手
#1,366 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Yashisinghal285 已经在做这个了。

开始于 2026年10月30日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
74/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, javascript

调研方向

在 414px 的 viewport 下打开 https://docs.layer5.io/kanvas/,检查导航栏标题下方的搜索栏,重点关注其宽度限制、父元素尺寸和响应式 CSS。从页面中找出相关的样式表或组件,并在 Firefox 响应式模式下重现裁切问题。完成标准是:在移动端和桌面端宽度下,搜索栏都能适应 viewport,且没有水平溢出。

由索引模型根据 Issue 内容生成。

描述

framework/hugo help wanted kind/bug language/css language/javascript

Description

The search bar on the Kanvas documentation website appears clipped on mobile viewports. The search input does not fit correctly within the available content area, resulting in a broken responsive layout.

Affected page: https://docs.layer5.io/kanvas/

Steps to Reproduce
  1. Open https://docs.layer5.io/kanvas/.
  2. Open browser Developer Tools and enable Responsive Design Mode.
  3. Set the viewport width to approximately 414px.
  4. Observe the search bar below the navigation header.
Actual Behavior

The search input appears cut off on the right side instead of fitting within the available viewport width.

Expected Behavior

The search bar should adapt to the available screen width, remain fully visible, and maintain appropriate spacing from the surrounding elements across mobile and desktop viewports.

Environment
  • Page: Kanvas Documentation
  • Viewport: 414 × 846 pixels
  • Browser: Firefox
  • Issue type: UI / Responsive Design
Screenshot

The attached screenshot demonstrates the clipped search bar in mobile emulation.

Proposed Outcome

Investigate the search bar's width constraints, parent container sizing, and responsive CSS rules to ensure the search input fits within the available space on smaller screens without horizontal overflow.

I would Like to work on this...
Image
主要语言
JavaScript
星标
103
派生
227
平均合并
15 小时 45 分钟
30 天内合并 PR
63

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

layer5io/docs 的其他 Issue

查看 layer5io/docs 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。