ios显示button文字与android显示button文字不一致

button设置宽,高,android正常显示 已超时 三个字;ios只显示 已超 两个字
<button class="timeOutbutton" v-show="o.timeout">已超时</button>
<style>
.timeOutbutton{
width: 50px;
height: 15px;
font-size: 11px;
border: solid 1px #ff001f;
border-radius: 5px;
background-color: #ff001f;
color: #ffffff;
margin-left: 10px;
}
</style>
imageimage
求如何ios显示button和android显示的button一致 都可完全显示已超时

阅读 1.4k
1 个回答
  1. *{padding:0;margin:0} 去掉各个浏览器特定样式
  2. 既然不想换行 white-space: nowrap;
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题