R
R
Randewoo2019-08-21 17:18:53
UIkit
Randewoo, 2019-08-21 17:18:53

Are elements distorted on large monitors?

Hi, actually, I'm typesetting on UIKit 3, and here is such a dilemma.
Here's how the element (card) looks like on a 15-inch monitor:
5d5d51b4e908b144779736.png
And here's how the same element looks when zoomed out (emulation of a large screen):
5d5d51eba8070754467497.png
I went to the official documentation ( https://getuikit.com/docs/card ) , scrolling a little lower, you can see a card with a picture. So, I also played around with the scale - everything is fine there, the cards do not blur.
I rummaged through a bunch of classes in the page code, and still I can’t do it.
Here is my code:

spoiler
<div class="uk-background-muted uk-padding uk-position-relative">
  <div class="[email protected] uk-position-relative uk-grid-match" uk-grid>
      <div>
          <div class="uk-card uk-card-small uk-card-default">
              <div class="uk-card-media-top">
                  <img src="image/product1.jpg" class="uk-image-crop-top">
              </div>
              <div class="uk-card-body">
                  <h3 class="uk-card-title">Игрушки</h3>
                  <p>Самые качественные и популярные игрушки для детей</p>
                  <button class="uk-button uk-button-small uk-button-secondary uk-align-center uk-width-1-1">Подробнее</button>
              </div>
          </div>
      </div>
      <div>
          <div class="uk-card uk-card-small uk-card-default">
              <div class="uk-card-media-top">
                  <img src="image/product1.jpg" class="uk-image-crop-top">
              </div>
              <div class="uk-card-body">
                  <h3 class="uk-card-title">Игрушки</h3>
                  <p>Самые качественные и популярные игрушки для детей</p>
                  <button class="uk-button uk-button-small uk-button-secondary uk-align-center uk-width-1-1">Подробнее</button>
              </div>
          </div>
      </div>
      <div>
          <div class="uk-card uk-card-small uk-card-default">
              <div class="uk-card-media-top">
                  <img src="image/product1.jpg" class="uk-image-crop-top">
              </div>
              <div class="uk-card-body">
                  <h3 class="uk-card-title">Игрушки</h3>
                  <p>Самые качественные и популярные игрушки для детей</p>
                  <button class="uk-button uk-button-small uk-button-secondary uk-align-center uk-width-1-1">Подробнее</button>
              </div>
          </div>
      </div>
  </div>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-08-21
@Randewoo

Hello
, I inserted the code without changing anything, wrapped it only in a container. I don't see a problem. perhaps the container was missing?
https://codepen.io/asuikit/pen/ZEzBjjq

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question