.gallery {
  margin: 0;
}

.gallery img:only-of-type {
  display: block;
  border: 2px solid teal;
}