Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全局按钮点击后出现巨大边框🧐[问题 | question] #10839

Closed
unStarCN opened this issue Jul 12, 2023 · 1 comment
Closed

全局按钮点击后出现巨大边框🧐[问题 | question] #10839

unStarCN opened this issue Jul 12, 2023 · 1 comment
Labels

Comments

@unStarCN
Copy link

🧐 问题描述 | Problem description

今天编译时突然就这样, 重新运行也是一样, 没改样式代码, 不止出现一次了, 只要是一个按钮点击后都会出现, 侧边栏也会有
那个淡蓝色边框

💻 示例代码 | Sample code

🚑 其他信息 | Other information

image
image

OS:

Node:

浏览器 | browser:谷歌浏览器

@chenshuai2144
Copy link
Collaborator

这个问题可能是由于你的样式代码中添加了不正确的样式导致的。为了解决这个问题,你可以尝试以下几个步骤:

  1. 首先,确保你的样式代码中没有添加任何额外的边框样式。可能是你的代码中某个地方使用了 border 属性或者其他类似的属性导致了边框出现。

  2. 如果你使用了某个 CSS 框架或者样式库,例如 Ant Design Pro,你可以查看相关的文档,看是否有提供一些全局样式配置的选项。你可以尝试找到这个淡蓝色边框的样式配置项,并将其设置为你想要的样式。

  3. 另外,你还可以使用浏览器的开发者工具来查看这个淡蓝色边框的样式是如何被应用的,以便找到具体的样式代码位置。在开发者工具中,你可以在 Elements(元素)面板中选择这个按钮元素并查看应用在它身上的样式规则。

希望这些步骤可以帮助你解决问题!如果还有其他问题,请随时提问。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants