CSGO
V2EX  ›  问与答

一个 html 页面 iPad 浏览器适配问题

  •  
  •   CSGO · Mar 1, 2021 · 1433 views
    This topic created in 2083 days ago, the information mentioned may be changed or developed.

    我一个 html 页面,为什么在 ipad 上会被自动换行,而且用的都是 chroome 浏览器: https://imgup.nl/images/2021/03/01/BBE4D7D0-BEBF-4EC7-AE6C-F5FA2D6EAEF1_1_105_c.jpg

    但是在 mac 上监视用的 ipad 就正常: https://imgup.nl/images/2021/03/01/2021-03-01-1.35.57.png

    4 replies  •  2021-03-04 11:52:02 +08:00
    kaiki
    kaiki
    Mar 1, 2021
    1
    iPad 的确会有这种问题,还不好调试,你要不 line-height 一下试试
    CSGO
    CSGO
    OP
    Mar 1, 2021 via iPad
    2
    @kaiki 我看了已经有 line-height: 33px
    Bechbaliq
    Bechbaliq
    Mar 1, 2021
    3
    ```css
    -webkit-appearance: none;
    appearance: none;
    ```
    CSGO
    CSGO
    OP
    Mar 4, 2021
    4
    @Bechbaliq 试了还是不行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4285 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 09:08 · PVG 17:08 · LAX 01:08 · JFK 04:08
    ♥ Do have faith in what you're doing.