-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Safari上会有一个莫名其妙的渲染问题 #20
Comments
|
这是 Safari 的问题,还是 字体 的问题,能否帮忙看下 |
<!DOCTYPE html>
<html>
<head>
<!-- <style>
@import url('https://rsms.me/inter/inter.css');
#wrapper {
display: flex;
font-family: 'Inter var', serif;
}
</style> -->
<style>
@import url('https://cdn.jsdelivr.net/npm/[email protected]/style.css');
#wrapper {
display: flex;
font-family: 'LXGW WenKai', serif;
}
</style>
</head>
<body>
<div id="wrapper">OK When AGEDFE reaks ssf text SSreaks_sf.
</div>
</body>
</html> <!DOCTYPE html>
<html>
<head>
<style>
@import url('https://rsms.me/inter/inter.css');
#wrapper {
display: flex;
font-family: 'Inter var', serif;
}
</style>
<!-- <style>
@import url('https://cdn.jsdelivr.net/npm/[email protected]/style.css');
#wrapper {
display: flex;
font-family: 'LXGW WenKai', serif;
}
</style> -->
</head>
<body>
<div id="wrapper">OK When AGEDFE reaks ssf text SSreaks_sf.
</div>
</body>
</html> |
我在 iPhone 上测试移除 |
我用本地字体没有问题。 |
在使用 |
@justlongfei @chawyehsu flex grid布局加上white-space:no-wrap可以解决换行问题 |
The text was updated successfully, but these errors were encountered: