@import 'core/less/common';
@import "core/less/z-index-globals";

@animation-duration: 0.3s;

:host {
	position: fixed;
	z-index: @z-index-overlay-overview;
	font-size: 12px;
	min-width: 250px;
	user-select: none;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-100%);
	transition: opacity @animation-duration, visibility calc(~"@{animation-duration} + 0.1s");

	.overlay-overview {
		background-color: white;
		box-shadow: 0 0 15px 0 #2e2d46;
		border: 2px white solid;
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: center;
	}

	.transparent {
		background-color: transparent;
		width: 100%;
		height: 0;
		transition: height @animation-duration;
	}

	&.show {
		visibility: visible;
		opacity: 1;

		.transparent {
			// This will be the visible gap between this popup and the drop below it
			height: 20px;
		}
	}
}

img {
	height: 150px;
}

footer {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

@import 'core/less/common';
@import "core/less/z-index-globals";

@animation-duration: 0.3s;

:host {
	position: fixed;
	z-index: @z-index-overlay-overview;
	font-size: 12px;
	min-width: 250px;
	user-select: none;
	visibility: hidden;
	opacity: 0;
	transform: translateY(calc(~"1px - 100%"));
	transition: opacity @animation-duration, visibility calc(~"@{animation-duration} + 0.1s");

	.overlay-overview {
		background-color: white;
		box-shadow: 0 0 15px 0 #2e2d46;
		border: 2px white solid;
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: center;
	}

	.transparent {
		background-color: transparent;
		width: 100%;
		height: 0;
		transition: height @animation-duration;
	}

	&.show {
		visibility: visible;
		opacity: 1;

		.transparent {
			// This will be the visible gap between this popup and the drop below it
			height: 20px;
		}
	}
}

img {
	height: 150px;
}

footer {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

Fix preview popup vertical position by 1px
Fix preview popup vertical position by 1px
