Corrects unordered list in nav bar when it overflows

PHOTO EMBED

Sat Aug 20 2022 13:34:16 GMT+0000 (UTC)

Saved by @kaode20

nav > ul {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  padding-inline-start: 0;
  margin-block: 0;
  height: 100%;
}
content_copyCOPY

On small screens, the unordered list in the navigation bar overflows the right side of the screen when header is a flexbox with other elements.

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-49