OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to fix zoom in android using css?

  • Thread starter Thread starter Van Pham
  • Start date Start date
V

Van Pham

Guest
I have code:


Code:
h3 {
  display:flex;
  flex-direction:column;
  font-size:1.2rem;
}

.row-1 {
  display:flex;
  flex-direction:column;
  font-size:1rem;
}

.row-1 > div {
   display:table;
}

.row-2 {
  display:flex;
  flex-direction:column;
  font-size:1rem;
}

.row-2 > div {
   display:table;
}

Code:
<h3>13. Change to this Privacy Policy:</h3>
<div class="row-1">We have right to change, adjust and modify this Privacy Policy at any time. When changes are applied, we will update you.</div>
<h3>14. Contact us:</h3>
<div class="row-2">
  <div>If you have any questions about our Privacy Policy, please feel free to contact us at:</div></div>

When I open Android. I click Settings > Display > Font size and style > Font size > I get {max size}. .row-1 is zoomed, it is not the same. Can you help me? How to fix this bug?

enter image description here
<p>I have code:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>h3 {
display:flex;
flex-direction:column;
font-size:1.2rem;
}

.row-1 {
display:flex;
flex-direction:column;
font-size:1rem;
}

.row-1 > div {
display:table;
}

.row-2 {
display:flex;
flex-direction:column;
font-size:1rem;
}

.row-2 > div {
display:table;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code><h3>13. Change to this Privacy Policy:</h3>
<div class="row-1">We have right to change, adjust and modify this Privacy Policy at any time. When changes are applied, we will update you.</div>
<h3>14. Contact us:</h3>
<div class="row-2">
<div>If you have any questions about our Privacy Policy, please feel free to contact us at:</div></div></code></pre>
</div>
</div>
</p>
<p>When I open Android.
I click Settings > Display > Font size and style > Font size > I get {max size}.
.row-1 is zoomed, it is not the same. Can you help me? How to fix this bug?</p>
<p><a href="https://i.sstatic.net/1grosa3L.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1grosa3L.png" alt="enter image description here" /></a></p>
Continue reading...
 

Latest posts

Online statistics

Members online
1
Guests online
2
Total visitors
3
Top