-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
logo 首字母为小写 j 时会被裁切,大写正常 #82
Comments
正在想办法解决这个问题 😂 |
@Jerry-FaGe 这个问题,我可以给你个解决方案,首页的话应该算完美,但是其他页面不是特别完美,首页这个地方的容器有个 margin-left 的样式,你调整为 padding-left 就可以解决这个问题。归根究底这个问题是由于字体样式造成的,因为这个字体会超出容器限制。 |
感谢你提供的思路,我调整出了适合我的样式,以下放出我的调整以供参考: .name {
width: 100%;
height: 142px;
- margin-left: 12px;
+ // margin-left: 12px;
transform: translateY(-15px);
font-family: "Pacifico-Regular";
.bg {
font-size: 5rem;
+ padding-left: 1.2rem;
}
.bg {
font-size: 5rem;
+ padding-left: 1.2rem;
} 只测试了小写字母 现在就剩下过长域名会超出引言框这里的样式不知道该怎么调整了 |
我的网站是以小写字母
j
打头的,调试的时候发现前面一点会被裁切,如图:换成大写
J
就没有问题但是换成大写的会让后面长出引言框一大截,看着还是挺不舒服的
不知道如果域名比较长的情况下有什么方法可以调优这个样式
The text was updated successfully, but these errors were encountered: