D
D
Demid Borodin2016-12-13 17:16:18
css
Demid Borodin, 2016-12-13 17:16:18

How to correctly set the height of the block, FlexBox?

Lesson 20 from the course - flexbox.io .
On a 13-inch retina with a standard scaling of 1280x800, such a bug comes out.
cb5e07f611a3464c983e0b77da68bcf1.png
Please tell me how to fix it.
Code here
I tried to set it using %, but then it looks terrible on a large display, I don’t see much point in adding media, I need the content to fit normally at a small resolution and look the same on a large one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Chepel, 2016-12-13
@dev_borodin

Flexbugs

.icon-bar {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question