Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
273 views
in Technique[技术] by (71.8m points)

android - 不同风格的文本PC和智能手机(Different style of text PC and smart phone)

I have one question.

(我有一个问题。)

I have the following design as you can see on images, but I get a different text style on different phones (iPhone 8 and Samsung Galaxy A5 2017).

(您可以在图像上看到以下设计,但是在不同的手机(iPhone 8和Samsung Galaxy A5 2017)上,我得到了不同的文本样式。)

What is wrong here?

(怎么了)

Do you need to apply different styles for Android phones because the same problem is with Huawei phone?

(您是否需要为Android手机应用不同的样式,因为华为手机存在相同的问题?)

Samsung Galaxy A5 2017

(三星Galaxy A5 2017)

iPhone 8

(iPhone 8)

Please help, Thanks for answers.

(请帮助,谢谢您的回答。)

Guys I have found the solution.

(伙计们,我找到了解决方案。)

I add "max-height:99999px;"

(我添加“ max-height:99999px;”)

to p tag and It works fine.

(p标签,它工作正常。)

Solution

()

  ask by Tony AS translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...