ant-design / ant-design/pro-components

🧐[问题] 为什么本地npm start后,页面的尺寸变得很大

Open
#8,334 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

按照文档本地把prolayout跑起来了,担心localhost的页面尺寸特别大

本地环境:macbook
浏览器:Chrome 版本 123.0.6312.124(正式版本) (arm64)
### 💻 示例代码

### 🚑 其他信息

![image](https://github.com/ant-design/pro-components/assets/110971964/791f6e75-fa2a-4997-b33e-b463c202b76d)

文档里的demo却是正常的 https://pro-components.antdigital.dev/~demos/packages-layout-src-components-layout-tab-api-demo-base?layout=mix&splitMenus=true

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the oversized page after running ProLayout locally with npm start, using the reported MacBook and Chrome environment. Compare the local result with the linked documentation demo and its screenshot; done means the local page dimensions match the documented demo.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.