Skip to content

[Bug]:与tailwidncss base样式冲突 #164

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

Open
1 task done
muchenkezhan opened this issue May 28, 2025 · 0 comments
Open
1 task done

[Bug]:与tailwidncss base样式冲突 #164

muchenkezhan opened this issue May 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@muchenkezhan
Copy link

muchenkezhan commented May 28, 2025

使用的版本

latest

版本号

最新版

你的安装方式

NPM 依赖

你的操作系统

Windows

你的浏览器

Edge

你的项目编程语言

Vue 3

问题描述

与tailwindcss bzse样式冲突了,导致了:
1.预览的html样式会和页脚重叠,原因之一是图片的高度height="40"失效了,不好判断有没有其他原因。

Image
2.是导出的pdf也会出现同样问题,会和页脚离得很远。

img, video {
max-width: 100%;
height: auto;
}
就算在控制台取消[height](height: auto;)的时候图片的高度也出不来还是无效

如何复现

引入tailwindcss,然后预览就行了

预期结果

造成文档预览和导出都有问题

实际结果

实际是tailwindcss样式冲突

截图或视频

[在这里上传图片]

这个问题是否已经存在?

@muchenkezhan muchenkezhan added the bug Something isn't working label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant