pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

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

Open francis-jjk opened this issue 1 year ago • 2 comments

提问前先看看:

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

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

francis-jjk avatar Apr 20 '24 10:04 francis-jjk

更新一下:使用Vercel部署之后生成的页面的好的,估计是本地开发环境配置导致的,有人知道为什么吗?https://website-chi-one-61.vercel.app/?layout=mix&splitMenus=true

francis-jjk avatar Apr 21 '24 03:04 francis-jjk

确定你本地的浏览器的zoom没有设置缩放比例?

Lukunlin avatar May 28 '24 12:05 Lukunlin