body, html { height: 100vh; /* Fallback for browsers that do not support Custom Properties */ height: calc(var(--vh, 1vh) * 100); overflow: hidden; margin: 0; padding: 0; } h1 { color: black; } #overlay{ position: absolute; top: 10vh; height: 80vh; width: 100vw; background: wheat; overflow-x: hidden; overflow-y: scroll; } #overlay_container{ width: 95vw; margin: 2.5vw; } form{ width: 100%; } input{ background-color: #e0824a; display: block; width: 98%; padding: 0; border: 0; font-size: 18pt; margin-bottom: 10px; padding: 4px 0 4px 2%; } input#deineIdee{ } .hidden{ display: none; } .show{ display: block; } #map { height: 100vh; width: 100vw; float: left; } #currentLocation { height: 80px; width: 80px; z-index: 100; } .MapControls { height: 300px; width: 80px; position: absolute; top: 0; right: 0; display: flex; justify-content: end; } #idee { height: 50vh; width: 50vh; float: left; } .ideeBilder { width: 80px; height: 80px; } .herz { width: 80px; height: 80px; } #cancel { width: 60px; height: 60px; } p.commentText{ display: inline-block; padding-right: 20px; } p.commentLikeNumber{ display: inline-block; padding-right: 20px; } img.commentLike{ width: 15px; display: inline-block; } .image-preview ._list { padding-top: 20px; } .image-preview ._item { padding: 0 0 10px; display: inline-block; text-align: center; vertical-align: top; width: 100px; word-break: break-word; font-size: 12px; line-height: normal; } .image-preview ._item img { display: block; width: 80px; height: 80px; padding: 0 10px 6px; }