我的应用中小于8px的所有字体都以8px大小呈现。
该错误只发生在手机中,如果我在浏览器中使用text-size-adjust:none
进行测试,一切正常。
当我在手机中构建和调试时,所有字体大小都限制在最低8px。如果我改成更大的尺寸工作正常。
尝试<?php
$wpb_all_query = new WP_Query(array('post_type'=>'post', 'post_status'=>'publish', 'posts_per_page'=>-1));
if ( $wpb_all_query->have_posts() ) { ?>
<div class=row>
<div class="col-xs-12 col-md-8 col-sm-8">
<div class="owl-carousel owl-theme project-detail-carousel"id=project_detail>
<div class=project-detail-item><img alt=p-detail src="<?php the_post_thumbnail(''); ?>"></div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4">
<div class=project-detail-1>
<h2><?php the_title(); ?></h2>
<ul>
<li><span>Client:</span><?php get_post_meta( get_the_ID(), '_portfolio_name_value_key', true ); ?>
<li><span>Category:</span> <?php the_terms( get_the_ID(), 'field' ,true ); ?>
<li><span>Status:</span> <?php get_post_meta( get_the_ID(), '_portfolio_status_value_key' ,true ); ?>
<li><span>Tags:</span> <?php the_terms( get_the_ID(), 'ptag' ,true ); ?>
<li><span>Date:</span> <?php get_post_meta( get_the_ID(), '_portfolio_date_value_key' ,true ); ?>
</ul>
</div>
</div>
</div>
<div class="row mt-50">
<div class=col-md-12>
<div class=project-detail-1-info>
<h3>A little About This Project</h3>
<div class=text-content>
<?php the_content(); ?>
</div>
</div>
</div>
</div>
<?php wp_reset_postdata(); }?>
<ul>
<li><a href="#">Office Painting – the Easy Way</a></li>
<li><a href="#">12 Questions to Ask – <i>Before</i> You Hire a Painter</a></li>
<li><a href="http://route1paintingandwindows.com/price-service-sketchy-dudes/">Price, Service & Sketchy Dudes</a></li>
<li><a href="http://route1paintingandwindows.com/top-3-must-haves-when-hiring-a-paint-contractor/">Top 3 Must-Haves When Hiring A Paint Contractor</a></li>
<li><a href="#">Top 5 Uninsured Contractor What-if’s</a></li>
</ul>
并且对问题没有影响。
使用带有Android 6.0的Galaxy J5和带有android 6.0的Moto G3