<style>
.media-thumbnails {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.media-thumbnails li {
  display: inline-block;
  text-align: center;
}
.media-thumbnails img {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px;
}
</style>