HTML Inputs are not shown properly only on Iphone

隐身守侯 提交于 2021-02-11 18:21:27

问题


I have multiple inputs fields in my website, which are shown properly in computer browsers and in Android mobiles. But when I using my Iphone to access these inputs, they are shown way different from the original css built for these.

This is the HTML CODE:

<div class="panelManageSearchOptions">
    <input id="panelManageSearchDiscussionsByDiscussiontitle" class="panelManageSearchInput" type="text" placeholder="חפש דיון לפי כותרת ">
    <input id="panelManageSearchDiscussionsByUsername" class="panelManageSearchInput" type="text" placeholder="חפש דיון לפי שם משתמש ">
</div>

This is the CSS code:

  .panelSection .panelManageSearchOptions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
    -webkit-box-shadow: 0 2px 5px black;
            box-shadow: 0 2px 5px black;
    padding: 5px 8px; }
  .panelSection .panelManageSearchInput {
    border: 1px solid black;
    width: 100%;
    font-size: 14px;
    padding: 3px 6px;
    -webkit-box-shadow: 0 2px 2px #7F8084;
            box-shadow: 0 2px 2px #7F8084; }

This is how these inputs are shown in computer \ android mobiles browsers:

And this is on Safari \ Chrome in my Iphone XR:

来源:https://stackoverflow.com/questions/61078076/html-inputs-are-not-shown-properly-only-on-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!